aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-decls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/ctf-decls.h')
-rw-r--r--libctf/ctf-decls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libctf/ctf-decls.h b/libctf/ctf-decls.h
index d12409e..c840b79 100644
--- a/libctf/ctf-decls.h
+++ b/libctf/ctf-decls.h
@@ -62,6 +62,10 @@ void ctf_qsort_r (void *base, size_t nmemb, size_t size,
void *arg);
#endif
+#ifndef HAVE_O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
#undef MAX
#undef MIN
#define MAX(a, b) ((a) > (b) ? (a) : (b))