diff --git a/include/winsock.h b/include/winsock.h index 0283db88e8d..bd72b49cbfd 100644 --- a/include/winsock.h +++ b/include/winsock.h @@ -11,11 +11,11 @@ #include #ifndef __WINE__ -#ifdef __svr4__ +#if defined(__svr4__) || defined(__NetBSD__) || defined(__FreeBSD__) #ifndef HAVE_SYS_SOCKET_H #define HAVE_SYS_SOCKET_H #endif /* HAVE_SYS_SOCKET_H */ -#endif /* __svr4__ */ +#endif /* __svr4__ || __NetBSD__ || __FreeBSD__ */ #endif /* __WINE__ */ /* Solaris uses these macro names */