Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.
authorguenther <guenther@openbsd.org>
Tue, 2 Jan 2018 06:38:45 +0000 (06:38 +0000)
committerguenther <guenther@openbsd.org>
Tue, 2 Jan 2018 06:38:45 +0000 (06:38 +0000)
commit4b1f64dcf5feb790aab4be62991acb194f54fcf2
tree82134dd99223bd8bda8ce7171ee05f42a28fe4bd
parent29e477084e4cf41df33525bd7f1c7464ee47f717
Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.

ok millert@ sthen@
16 files changed:
lib/libkvm/kvm_file2.c
sys/dev/diskmap.c
sys/kern/exec_script.c
sys/kern/kern_exec.c
sys/kern/kern_sysctl.c
sys/kern/sys_generic.c
sys/kern/sys_pipe.c
sys/kern/tty_pty.c
sys/kern/uipc_syscalls.c
sys/kern/vfs_syscalls.c
sys/kern/vfs_vnops.c
sys/miscfs/fifofs/fifo_vnops.c
sys/msdosfs/msdosfs_vnops.c
sys/ufs/ufs/ufs_vnops.c
sys/uvm/uvm_mmap.c
usr.sbin/pstat/pstat.c