summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index f3e77da5..b7c1fd8e 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -30,6 +30,10 @@
#include "guestfs_protocol.h"
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
+
/*-- in guestfsd.c --*/
extern int verbose;