diff --git a/src/common/util.h b/src/common/util.h index dd55a81c04..5ef3a413d0 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -24,6 +24,9 @@ #error "It seems your platform does not represent NULL as zero. We can't cope." #endif +#ifdef HAVE_WINSOCK_H +#include +#endif #if _MSC_VER > 1300 #include #include