diff options
-rw-r--r-- | src/usr.bin/nc/netcat.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
43 | #ifdef HAVE_SELECT_H /* random SV variants need this */ | 43 | #ifdef HAVE_SELECT_H /* random SV variants need this */ |
44 | #include <sys/select.h> | 44 | #include <sys/select.h> |
45 | #endif | 45 | #endif |
46 | #ifdef HAVE_UNISTD_H | ||
47 | #include <unistd.h> | ||
48 | #endif | ||
46 | 49 | ||
47 | /* have to do this *before* including types.h. xxx: Linux still has it wrong */ | 50 | /* have to do this *before* including types.h. xxx: Linux still has it wrong */ |
48 | #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */ | 51 | #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */ |