From 6c2a10e9634840f5e2fc4c40da081357fe55d6f7 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 7 Dec 2015 19:05:42 -0500 Subject: [PATCH] config-win32: Fix warning HAVE_WINSOCK2_H undefined --- lib/config-win32.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config-win32.h b/lib/config-win32.h index 4f5979188..1e6330463 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -627,7 +627,8 @@ Vista /* Define if struct sockaddr_in6 has the sin6_scope_id member. */ #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 -#if HAVE_WINSOCK2_H && defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) +#if defined(HAVE_WINSOCK2_H) && defined(_WIN32_WINNT) && \ + (_WIN32_WINNT >= 0x0600) #define HAVE_STRUCT_POLLFD 1 #endif