]> git.proxmox.com Git - mirror_zfs.git/commit
libshare: Add missing headers for nfs.c
authoralaviss <leorize+oss@disroot.org>
Fri, 4 Sep 2020 19:03:57 +0000 (19:03 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Sep 2020 17:26:02 +0000 (10:26 -0700)
commit0b5a4c4d6bc3943d6bf2cd96e282e27425f46583
tree0a078d29dd3b8169744ec0ce713d9f0b13c864b1
parentee73a8ff3dd8863967876bd2068f8c9152e1a3ae
libshare: Add missing headers for nfs.c

On musl libc, zfs failed to compile due to the missing <fcntl.h>
include, which is required for `open()` per POSIX.

This commit add the missing <fcntl.h> include.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Hiếu Lê <leorize+oss@disroot.org>
Closes #10880
lib/libshare/os/linux/nfs.c