[Lldb-commits] [lldb] r346999 - Fix compilation failure in unit tests on Windows.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 15 14:03:49 PST 2018


Author: zturner
Date: Thu Nov 15 14:03:49 2018
New Revision: 346999

URL: http://llvm.org/viewvc/llvm-project?rev=346999&view=rev
Log:
Fix compilation failure in unit tests on Windows.

Modified:
    lldb/trunk/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp

Modified: lldb/trunk/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp?rev=346999&r1=346998&r2=346999&view=diff
==============================================================================
--- lldb/trunk/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp (original)
+++ lldb/trunk/unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp Thu Nov 15 14:03:49 2018
@@ -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 {
 




More information about the lldb-commits mailing list