=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/netcat.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/nc/netcat.c 1999/06/05 19:33:49 1.4 +++ src/usr.bin/nc/netcat.c 1999/08/16 20:13:54 1.5 @@ -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. */