summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index 53c2e93..1a8f3a4 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -108,6 +108,8 @@ int fchmodat(int dirfd, const char *path, int mode, int flags);
#else
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
+#include <fcntl.h>
#ifdef __linux__
#include <sys/sysmacros.h>