diff --git a/src/common/network.c b/src/common/network.c index 0a056098..60dc7e50 100644 --- a/src/common/network.c +++ b/src/common/network.c @@ -18,7 +18,11 @@ /* ipv4 and ipv6 networking functions with a common interface */ #define _POSIX_C_SOURCE 200112L -#include +#ifdef _WIN32 +# include +#else +# include +#endif #include "config.h"