summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <robin@cvs.openbsd.org>1996-12-11 17:14:23 +0000
committerrobin <robin@cvs.openbsd.org>1996-12-11 17:14:23 +0000
commit4eb3550abeee7fdb7e8cbc13a0d36048756cdf3a (patch)
tree7c41c2693e3a640ca00592d3939e24a35d74a3b2
parent04765fc55f6ba51faecf680a580b95ece3a6536c (diff)
Add ``#include <unistd.h>'' for prototypes of:
close(2), write(2), read(2), select(2), sleep(3) and isatty(3).
-rw-r--r--usr.bin/telnet/sys_bsd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/telnet/sys_bsd.c b/usr.bin/telnet/sys_bsd.c
index daac07fe7ce..c7b199f6b86 100644
--- a/usr.bin/telnet/sys_bsd.c
+++ b/usr.bin/telnet/sys_bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_bsd.c,v 1.3 1996/03/27 19:33:07 niklas Exp $ */
+/* $OpenBSD: sys_bsd.c,v 1.4 1996/12/11 17:14:22 robin Exp $ */
/* $NetBSD: sys_bsd.c,v 1.11 1996/02/28 21:04:10 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
from: static char sccsid[] = "@(#)sys_bsd.c 8.4 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: sys_bsd.c,v 1.11 1996/02/28 21:04:10 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: sys_bsd.c,v 1.3 1996/03/27 19:33:07 niklas Exp $";
+static char rcsid[] = "$OpenBSD: sys_bsd.c,v 1.4 1996/12/11 17:14:22 robin Exp $";
#endif
#endif /* not lint */
@@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: sys_bsd.c,v 1.3 1996/03/27 19:33:07 niklas Exp
#include <signal.h>
#include <errno.h>
#include <arpa/telnet.h>
+#include <unistd.h>
#include "ring.h"