diff -Naur opennap-ng-0.47/src/init.c opennap-ng-0.47-patched/src/init.c --- opennap-ng-0.47/src/init.c Sun Nov 17 00:25:33 2002 +++ opennap-ng-0.47-patched/src/init.c Sun Feb 15 11:44:12 2004 @@ -9,10 +9,10 @@ #endif #ifndef WIN32 +#include #include #include #include -#include #include #include #include @@ -34,6 +34,9 @@ #include "hashlist.h" #include "debug.h" #if HAVE_MLOCKALL +#ifndef _P1003_1B_VISIBLE +#define _P1003_1B_VISIBLE +#endif #include #endif /* HAVE_MLOCKALL */ #ifdef WIN32 diff -Naur opennap-ng-0.47/src/main.c opennap-ng-0.47-patched/src/main.c --- opennap-ng-0.47/src/main.c Sun Sep 14 02:06:40 2003 +++ opennap-ng-0.47-patched/src/main.c Sun Feb 15 11:41:46 2004 @@ -1244,7 +1244,7 @@ #else read_fds = global.read_fds; write_fds = global.write_fds; - tv.tv_sec = max (TIMEOUT, 1); + tv.tv_sec = Max (TIMEOUT, 1); tv.tv_usec = 0; for (;;) {