aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch')
-rw-r--r--testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch b/testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch
new file mode 100644
index 0000000000..ca8909c425
--- /dev/null
+++ b/testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch
@@ -0,0 +1,11 @@
+--- ./cmd/mount_zfs/mount_zfs.c.orig
++++ ./cmd/mount_zfs/mount_zfs.c
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
+ #include <libzfs.h>
+ #include <locale.h>
+ #include <getopt.h>
++#include <fcntl.h>
+
+ #define ZS_COMMENT 0x00000000 /* comment */
+ #define ZS_ZFSUTIL 0x00000001 /* caller is zfs(8) */