summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/wrapper.h')
-rw-r--r--source3/smbwrapper/wrapper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbwrapper/wrapper.h b/source3/smbwrapper/wrapper.h
index fec400a724..3eccdcac1e 100644
--- a/source3/smbwrapper/wrapper.h
+++ b/source3/smbwrapper/wrapper.h
@@ -31,6 +31,12 @@
#include <sys/acl.h>
#endif
+#ifndef LINUX
+#ifdef HAVE_SYS_FCNTL_H
+#include <sys/fcntl.h>
+#endif
+#endif
+
#include <stdio.h>
#include <dirent.h>
#include <errno.h>