summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
committerbde <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
commit0d3591bdbd3a026b25e6400f8cc2717489321ee5 (patch)
tree6f29bb8eda668548be86212b07bea087a25e6b3d /sys/dev/snp
parent9c1cce114fbef8364b2d49669b0215e8bac94fd3 (diff)
downloadFreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.zip
FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.tar.gz
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 0e14b60..fbb6f91 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -23,7 +23,7 @@
#include <sys/ioctl_compat.h> /* Oooh..We need O/NTTYDISC */
#include <sys/proc.h>
#include <sys/tty.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>
OpenPOWER on IntegriCloud