diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 20:13:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 20:13:55 +0000 |
commit | faec687fb4dba8b1e58bd4a16bb4cd197fcc8adf (patch) | |
tree | 167d0582c88d2304bfd925aee997ea7e7dd8df6b /usr.bin/nc | |
parent | 4ca7cdc160130b43af0c23044fcc6764ef521b7f (diff) |
include unistd.h
Diffstat (limited to 'usr.bin/nc')
-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. */ |