Guard a winsock2.h include under the usual pragmas.

We missed this one. Microsoft doesn't usually pass their own level 4
warnings. Kenny Root reports this otherwise trips warnings on some
version of the Windows SDK.

Change-Id: I71dc837ff8ee52321483d26c3a2cd8676393d999
Reviewed-on: https://boringssl-review.googlesource.com/13110
Reviewed-by: Kenny Root <kroot@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-01-10 15:20:19 -05:00 committed by CQ bot account: commit-bot@chromium.org
parent 9c33ae8562
commit 7c7ab21781

View File

@ -19,7 +19,9 @@
#if !defined(OPENSSL_WINDOWS) #if !defined(OPENSSL_WINDOWS)
#include <sys/select.h> #include <sys/select.h>
#else #else
OPENSSL_MSVC_PRAGMA(warning(push, 3))
#include <winsock2.h> #include <winsock2.h>
OPENSSL_MSVC_PRAGMA(warning(pop))
#endif #endif
#include <openssl/err.h> #include <openssl/err.h>