From 785006428bed01f8361290c2e722628ea9f237d9 Mon Sep 17 00:00:00 2001 From: art <> Date: Mon, 16 Aug 1999 20:13:54 +0000 Subject: include unistd.h --- src/usr.bin/nc/netcat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index bad1676007..fca6502e15 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c @@ -43,6 +43,9 @@ #ifdef HAVE_SELECT_H /* random SV variants need this */ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif /* have to do this *before* including types.h. xxx: Linux still has it wrong */ #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */ -- cgit v1.2.3-55-g6feb