diff -r d24647f8227b -r 341e963c63c4 network_core.h --- a/network_core.h Wed Mar 22 21:24:26 2006 +0000 +++ b/network_core.h Wed Mar 22 21:40:26 2006 +0000 @@ -11,13 +11,10 @@ #ifdef ENABLE_NETWORK -#ifdef __APPLE__ -#include -#if (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2) +#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2) // OSX 10.2 don't have socklen_t defined, so we will define it here typedef int socklen_t; #endif -#endif // Windows stuff #if defined(WIN32) || defined(WIN64)