diff -r 4f66334b0247 SDLnetsys.h --- a/SDLnetsys.h Tue Jul 08 00:27:43 2014 -0700 +++ b/SDLnetsys.h Fri Oct 31 20:26:24 2014 +0100 @@ -38,7 +38,12 @@ #include #include #else +#ifdef __MINGW64_VERSION_MAJOR +#include +#include +#else #include +#endif /* NOTE: windows socklen_t is signed * and is defined only for winsock2. */ typedef int socklen_t;