summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index c911a88c7e5..ea0c6d50b8f 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -61,7 +61,7 @@
#ifndef O_DIRECTORY
/* FreeBSD does not need O_DIRECTORY */
-#define O_DIRECTORY 0
+#define O_DIRECTORY 0200000
#endif
#ifndef EBADFD