summaryrefslogtreecommitdiff
path: root/external_tests/ssl_gtest/tls_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'external_tests/ssl_gtest/tls_parser.h')
-rw-r--r--external_tests/ssl_gtest/tls_parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/external_tests/ssl_gtest/tls_parser.h b/external_tests/ssl_gtest/tls_parser.h
index 3e6ac24c6..a17933047 100644
--- a/external_tests/ssl_gtest/tls_parser.h
+++ b/external_tests/ssl_gtest/tls_parser.h
@@ -10,7 +10,11 @@
#include <memory>
#include <cstdint>
#include <cstring>
+#if defined(WIN32) || defined(WIN64)
+#include <winsock2.h>
+#else
#include <arpa/inet.h>
+#endif
#include "databuffer.h"
namespace nss_test {