aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <[email protected]>2016-03-25 20:47:03 +0100
committerBrian Behlendorf <[email protected]>2016-03-29 18:33:17 -0700
commit6d723925cf7d4d489f87d55c4907cbb9e6257196 (patch)
treec640a13fb6466d2f36e9ae27d38a1efbef2689c9
parentfc46c795e1b5474569eab71e038dfbd03a30fc31 (diff)
Add missing fcntl.h to includes in mount_zfs.c
This is needed for musl libc Signed-off-by: Carlo Landmeter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4456
-rw-r--r--cmd/mount_zfs/mount_zfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/mount_zfs/mount_zfs.c b/cmd/mount_zfs/mount_zfs.c
index 2fb4d65e9..3a0462127 100644
--- a/cmd/mount_zfs/mount_zfs.c
+++ b/cmd/mount_zfs/mount_zfs.c
@@ -33,6 +33,7 @@
#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) */