Fix build failures on CentOS 6

The older C++ compiler doesn't support struct initialization with explicit
values. In addition to this, fixed a few other warnings that caused
errors.
This commit is contained in:
Markus Mäkelä
2017-05-05 19:28:44 +03:00
parent 6c4a4a3ee0
commit 5dc49a59be
3 changed files with 11 additions and 8 deletions

View File

@ -25,7 +25,7 @@
namespace
{
struct
static struct
{
bool initialized;
int pipe_flags;