Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-03-20 19:45:54 +0300
committerDavid Benjamin <davidben@google.com>2016-03-20 19:46:10 +0300
commitcd4cf9a12eceaeb22460c3d45d53fd067508fc39 (patch)
tree1f162c8346639146f19b2609255f228e9adb6803 /crypto/bio
parent8b0fe8c0ac629ed7b87755f2aebb4d07b78c24df (diff)
Fix Windows build
Change-Id: I66ecb9f89ec13e432e888e3825d01a015b117568 Reviewed-on: https://boringssl-review.googlesource.com/7505 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bio/internal.h b/crypto/bio/internal.h
index d9a34f18..eb6b26f6 100644
--- a/crypto/bio/internal.h
+++ b/crypto/bio/internal.h
@@ -67,6 +67,9 @@ typedef unsigned short u_short;
#include <sys/types.h>
#include <sys/socket.h>
#else
+#pragma warning(push, 3)
+#include <winsock2.h>
+#pragma warning(pop)
typedef int socklen_t;
#endif