diff options
author | art <> | 1999-08-16 20:13:54 +0000 |
---|---|---|
committer | art <> | 1999-08-16 20:13:54 +0000 |
commit | 785006428bed01f8361290c2e722628ea9f237d9 (patch) | |
tree | 49d05d4169ef923c2570eb293bcaeaaf204eb3ea | |
parent | ad1d0331f7eb7d3ee791716dde2d1a61a0260645 (diff) | |
download | openbsd-785006428bed01f8361290c2e722628ea9f237d9.tar.gz openbsd-785006428bed01f8361290c2e722628ea9f237d9.tar.bz2 openbsd-785006428bed01f8361290c2e722628ea9f237d9.zip |
include unistd.h
-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. */ |