diff --git a/src/cacaserver.c b/src/cacaserver.c index bf1bae8..8b70487 100644 --- a/src/cacaserver.c +++ b/src/cacaserver.c @@ -25,13 +25,14 @@ /* for sockaddr_in (not included from arpa/inet.h in 10.3.9 SDK) */ # include # endif -#elif defined(HAVE_NETINET_IN_H) -# include #elif defined(HAVE_WINSOCK2_H) # include # include # define USE_WINSOCK 1 #endif +#if defined(HAVE_NETINET_IN_H) +# include +#endif #if defined(HAVE_UNISTD_H) # include #endif