summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
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 /lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
parent80ddf5b051dac2b0fc232a619e0831c4066b8ac4 (diff)
downloadbcm5719-llvm-101616a8bebc9fcabb34f6b13dac90c47261a0d0.tar.gz
bcm5719-llvm-101616a8bebc9fcabb34f6b13dac90c47261a0d0.zip
Fix compilation failure in unit tests on Windows.
llvm-svn: 346999
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp')
-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 f698fdd796d..9a9d8a3be47 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 {
OpenPOWER on IntegriCloud