summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-12-30 23:08:29 +0000
committerguenther <guenther@openbsd.org>2017-12-30 23:08:29 +0000
commitc0cd3489929d3f3bbb2b56e1de3bff68c64db8d2 (patch)
treeb43d36e853bd7d7ae68231e1d6dc41abde910157 /sys/kern/tty.c
parentDelete unnecessary <sys/file.h> includes (diff)
downloadwireguard-openbsd-c0cd3489929d3f3bbb2b56e1de3bff68c64db8d2.tar.xz
wireguard-openbsd-c0cd3489929d3f3bbb2b56e1de3bff68c64db8d2.zip
Don't pull in <sys/file.h> just to get fcntl.h
ok deraadt@ krw@
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index f80e4bd983f..a22f9d797f8 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.134 2017/06/29 04:10:07 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.135 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -44,7 +44,7 @@
#define TTYDEFCHARS
#include <sys/tty.h>
#undef TTYDEFCHARS
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>