diff --git a/netcat.c b/netcat.c index 8d84d2d..c23e5d4 100644 --- a/netcat.c +++ b/netcat.c @@ -31,7 +31,7 @@ /* conditional includes -- a very messy section which you may have to dink for your own architecture [and please send diffs...]: */ /* #undef _POSIX_SOURCE */ /* might need this for something? */ -/* #define HAVE_BIND */ /* ASSUMPTION -- seems to work everywhere! */ +#define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */ #define HAVE_HELP /* undefine if you dont want the help text */ /* #define ANAL */ /* if you want case-sensitive DNS matching */ @@ -46,6 +46,9 @@ #ifdef HAVE_TIME_H #include #endif +#ifdef LINUX +#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. */