--- netcat.c.orig 2005-10-18 12:42:05.000000000 -0500 +++ netcat.c 2021-07-02 07:48:55.000000000 -0500 @@ -48,9 +48,6 @@ #else #include #endif -#ifdef HAVE_SELECT_H /* random SV variants need this */ -#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. */ @@ -59,6 +56,10 @@ #define FD_SETSIZE 16 /* <-- this'll give us a long anyways, wtf */ #include /* *now* do it. Sigh, this is broken */ +#ifdef HAVE_SELECT_H /* random SV variants need this */ +#include +#endif + #ifdef HAVE_RANDOM /* aficionados of ?rand48() should realize */ #define SRAND srandom /* that this doesn't need *strong* random */ #define RAND random /* numbers just to mix up port numbers!! */ @@ -81,9 +82,13 @@ #include #include #include /* O_WRONLY et al */ - -#ifdef LINUX +#include #include + +#include "farm9crypt.h" + +#ifdef HAVE_HELP +void helpme(void); #endif /* handy stuff: */ @@ -1661,7 +1666,7 @@ #ifdef HAVE_HELP /* unless we wanna be *really* cryptic */ /* helpme : the obvious */ -helpme() +void helpme(void) { o_verbose = 1; holler ("[v1.10]\n\