summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip/tip/tip.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tip/tip/tip.c')
-rw-r--r--usr.bin/tip/tip/tip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tip/tip/tip.c b/usr.bin/tip/tip/tip.c
index 348f8a0..2b11d0b 100644
--- a/usr.bin/tip/tip/tip.c
+++ b/usr.bin/tip/tip/tip.c
@@ -58,6 +58,7 @@ void ttysetup (int speed);
*/
#include <err.h>
+#include <errno.h>
#include <sys/types.h>
#include <libutil.h>
#include "tipconf.h"
@@ -666,7 +667,6 @@ xpwrite(fd, buf, n)
{
register int i;
register char *bp;
- extern int errno;
bp = buf;
if (bits8 == 0)
OpenPOWER on IntegriCloud