aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-11-15 22:03:49 +0000
committerZachary Turner <zturner@google.com>2018-11-15 22:03:49 +0000
commit101616a8bebc9fcabb34f6b13dac90c47261a0d0 (patch)
treee67492cb2996bd98313ebb264d35794ac045ca04
parent80ddf5b051dac2b0fc232a619e0831c4066b8ac4 (diff)
downloadllvm-101616a8bebc9fcabb34f6b13dac90c47261a0d0.zip
llvm-101616a8bebc9fcabb34f6b13dac90c47261a0d0.tar.gz
llvm-101616a8bebc9fcabb34f6b13dac90c47261a0d0.tar.bz2
Fix compilation failure in unit tests on Windows.
llvm-svn: 346999
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
index f698fdd..9a9d8a3 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
@@ -9,6 +9,11 @@
#include "GDBRemoteTestUtils.h"
+#if defined(_MSC_VER)
+#include "lldb/Host/windows/windows.h"
+#include <WinSock2.h>
+#endif
+
namespace lldb_private {
namespace process_gdb_remote {