summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-11-18 01:59:58 +0000
committertedu <tedu@openbsd.org>2014-11-18 01:59:58 +0000
commit1cf119fe266277c36c5ffac88cf6fa642788ad2e (patch)
treed01429db21e2bcfd86f899c879092983417da415
parentUse pa_device to ensure each MAC address of a multi port board (diff)
downloadwireguard-openbsd-1cf119fe266277c36c5ffac88cf6fa642788ad2e.tar.xz
wireguard-openbsd-1cf119fe266277c36c5ffac88cf6fa642788ad2e.zip
include unistd.h instead of picking it up accidentally. noted by jsg
-rw-r--r--sys/kern/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index c6a64d7b7d8..de83fdea476 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.114 2014/09/15 19:08:21 miod Exp $ */
+/* $OpenBSD: tty.c,v 1.115 2014/11/18 01:59:58 tedu Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -56,6 +56,7 @@
#include <sys/sysctl.h>
#include <sys/pool.h>
#include <sys/poll.h>
+#include <sys/unistd.h>
#include <sys/namei.h>