summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2011-11-17 12:36:38 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2011-12-09 16:16:45 +0100
commit655794f4a1515f1eb5b00b2fcc32d3f31f56839b (patch)
treed894c3dfb2b49f9a124f37210ad67ab181383349
parent9294657fb966c685cf6a99f4bbe73a91eb2b8f3c (diff)
downloadfuse-655794f4a1515f1eb5b00b2fcc32d3f31f56839b.tar.gz
Fix the following compile error
fusermount.c: In function 'clone_newns': fusermount.c:315:2: warning: implicit declaration of function 'clone' [-Wimplicit-function-declaration] fusermount.c:315:44: error: 'CLONE_NEWNS' undeclared (first use in this function) fusermount.c:315:44: note: each undeclared identifier is reported only once for each function it appears in fusermount.c:317:1: warning: control reaches end of non-void function [-Wreturn-type]
-rw-r--r--util/fusermount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 70c18b7..6855b7e 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -7,6 +7,7 @@
*/
/* This program does the mounting and unmounting of FUSE filesystems */
+#define _GNU_SOURCE /* for clone */
#include <config.h>
#include "mount_util.h"