--- src/vteutils.cc.orig 2016-01-30 13:06:38.000000000 -0800 +++ src/vteutils.cc 2016-01-30 13:12:54.000000000 -0800 @@ -45,6 +45,10 @@ #endif /* __linux__ */ +#ifndef O_CLOEXEC +#define O_CLOEXEC 0 +#endif + int _vte_mkstemp (void) {