diff options
-rw-r--r-- | usr.bin/nc/netcat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index bad1676007d..fca6502e15e 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -43,6 +43,9 @@ #ifdef HAVE_SELECT_H /* random SV variants need this */ #include <sys/select.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#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. */ |