summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwpty.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-01 22:01:39 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-01 22:01:39 +0000
commitaaf2ea778011805413a4efe8fafae8212af7cfdb (patch)
treeb4997d51bc85e67cacf0e502bd027670fb7f0d41 /usr.bin/window/wwpty.c
parent7a14321ae0fa969b3b13d7f06f0ddc12bc09acab (diff)
another round of missing system includes
ok tedu@
Diffstat (limited to 'usr.bin/window/wwpty.c')
-rw-r--r--usr.bin/window/wwpty.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/window/wwpty.c b/usr.bin/window/wwpty.c
index 0fe64177d61..1e97ac94244 100644
--- a/usr.bin/window/wwpty.c
+++ b/usr.bin/window/wwpty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwpty.c,v 1.7 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwpty.c,v 1.8 2003/08/01 22:01:37 david Exp $ */
/* $NetBSD: wwpty.c,v 1.3 1995/09/28 10:35:45 tls Exp $ */
/*
@@ -37,14 +37,15 @@
#if 0
static char sccsid[] = "@(#)wwpty.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwpty.c,v 1.7 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwpty.c,v 1.8 2003/08/01 22:01:37 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
-#if !defined(OLD_TTY) && !defined(TIOCPKT)
+#if !defined(OLD_TTY)
#include <sys/ioctl.h>
#endif