summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-utils_exportfs_exportfs_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/nfs-utils/patches/patch-utils_exportfs_exportfs_c')
-rw-r--r--package/nfs-utils/patches/patch-utils_exportfs_exportfs_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/patch-utils_exportfs_exportfs_c b/package/nfs-utils/patches/patch-utils_exportfs_exportfs_c
new file mode 100644
index 000000000..b9cdac29f
--- /dev/null
+++ b/package/nfs-utils/patches/patch-utils_exportfs_exportfs_c
@@ -0,0 +1,13 @@
+--- nfs-utils-1.3.0.orig/utils/exportfs/exportfs.c 2014-03-25 16:12:07.000000000 +0100
++++ nfs-utils-1.3.0/utils/exportfs/exportfs.c 2014-05-17 21:20:01.548725048 +0200
+@@ -12,6 +12,10 @@
+ #include <config.h>
+ #endif
+
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/vfs.h>