diff options
author | Radek Podgorny <radek@podgorny.cz> | 2012-09-25 12:30:14 +0200 |
---|---|---|
committer | Radek Podgorny <radek@podgorny.cz> | 2012-09-25 12:30:14 +0200 |
commit | 2acfd9eb7dee0fe56071ec639e52ae8ea9992e73 (patch) | |
tree | 6b523b8251d130027886698ee917315e96ed1f6b | |
parent | e846b28c957d029e6c9b2fa0ece77ad15eb596f9 (diff) | |
download | unionfs-fuse-2acfd9eb7dee0fe56071ec639e52ae8ea9992e73.tar.gz |
resolve "implicit declaration of 'chroot'" warning
-rw-r--r-- | src/unionfs.c | 3 |
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> |