aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zfs-grsec/0001-Add-missing-fcntl.h-to-includes-in-mount_zfs.c.patch
blob: ca8909c425a652956392a401fe255f1928008641 (plain)
1
2
3
4
5
6
7
8
9
10
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) */