--- SDLnetsys.h.orig 2012-01-15 16:20:10 UTC +++ SDLnetsys.h @@ -54,6 +54,11 @@ typedef int socklen_t; #include #include #ifndef __BEOS__ +#ifdef __FreeBSD__ +#include +#include +#include +#endif /* FreeBSD */ #include #endif #ifdef linux /* FIXME: what other platforms have this? */