summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unionfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unionfs.c b/src/unionfs.c
index 186cd53..90cbccd 100644
--- a/src/unionfs.c
+++ b/src/unionfs.c
@@ -13,6 +13,9 @@
#ifdef linux
// For pread()/pwrite()/utimensat()
#define _XOPEN_SOURCE 700
+
+ // For chroot
+ #define _BSD_SOURCE
#endif
#include <fuse.h>