summaryrefslogtreecommitdiff
path: root/src/ICElibint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ICElibint.h')
-rw-r--r--src/ICElibint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ICElibint.h b/src/ICElibint.h
index 3794085..00c15ca 100644
--- a/src/ICElibint.h
+++ b/src/ICElibint.h
@@ -43,6 +43,12 @@ Author: Ralph Mor, X Consortium
#include <stdlib.h>
#include <stddef.h>
+#ifdef O_CLOEXEC
+#define FOPEN_CLOEXEC "e"
+#else
+#define FOPEN_CLOEXEC ""
+#define O_CLOEXEC 0
+#endif
/*
* Vendor & Release