artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b1f64d
)
Don't #include fcntl.h when _KERNEL is defined.
author
guenther
<guenther@openbsd.org>
Tue, 2 Jan 2018 06:40:55 +0000
(06:40 +0000)
committer
guenther
<guenther@openbsd.org>
Tue, 2 Jan 2018 06:40:55 +0000
(06:40 +0000)
inspired by FreeBSD r24131
ok millert@ sthen@
sys/sys/file.h
patch
|
blob
|
history
diff --git
a/sys/sys/file.h
b/sys/sys/file.h
index
fef8dd0
..
23c2b86
100644
(file)
--- a/
sys/sys/file.h
+++ b/
sys/sys/file.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: file.h,v 1.3
8 2016/08/23 23:28:02 tedu Exp $
*/
+/* $OpenBSD: file.h,v 1.3
9 2018/01/02 06:40:55 guenther Exp $
*/
/* $NetBSD: file.h,v 1.11 1995/03/26 20:24:13 jtc Exp $ */
/*
@@
-32,9
+32,10
@@
* @(#)file.h 8.2 (Berkeley) 8/20/94
*/
+#ifndef _KERNEL
#include <sys/fcntl.h>
-#
ifdef _KERNEL
+#
else /* _KERNEL */
#include <sys/queue.h>
struct proc;