diff options
Diffstat (limited to 'libctf/ctf-decls.h')
-rw-r--r-- | libctf/ctf-decls.h | 4 |
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)) |