summaryrefslogtreecommitdiffstats
path: root/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c.h')
-rw-r--r--include/c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/c.h b/include/c.h
index 975cc1bf4..cecd05d47 100644
--- a/include/c.h
+++ b/include/c.h
@@ -198,6 +198,7 @@ static inline int dirfd(DIR *d)
/*
* Fallback defines for old versions of glibc
*/
+#include <fcntl.h>
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif