aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'localdecls.h')
-rw-r--r--localdecls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/localdecls.h b/localdecls.h
index 590654d..674e848 100644
--- a/localdecls.h
+++ b/localdecls.h
@@ -49,6 +49,10 @@
# define MAP_ANONYMOUS MAP_ANON
#endif
+#ifndef O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
#if !HAVE_DECL_ENVIRON
extern char **environ;
#endif