summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwpty.c
diff options
context:
space:
mode:
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