aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2011-11-17 12:36:38 +0100
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2011-11-17 12:36:38 +0100
commitae43094c13ecf49e0b738bbda633cf193c7b3670 (patch)
treed5dddc19a748a8b41bc82bc60343c53344367f52 /util
parent42d5c66b0bd1b465ddd586a8c339b56799694f3f (diff)
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]
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index b90c520..b2e87d9 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"