[Lldb-commits] [lldb] r359816 - gdb-remote: fix the build on Windows

Saleem Abdulrasool via lldb-commits lldb-commits at lists.llvm.org
Thu May 2 12:09:58 PDT 2019


Author: compnerd
Date: Thu May  2 12:09:58 2019
New Revision: 359816

URL: http://llvm.org/viewvc/llvm-project?rev=359816&view=rev
Log:
gdb-remote: fix the build on Windows

Windows does not have a definition for `mode_t`.  Include the appropriate
header.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h?rev=359816&r1=359815&r2=359816&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h Thu May  2 12:09:58 2019
@@ -20,6 +20,9 @@
 #include "lldb/Utility/ArchSpec.h"
 #include "lldb/Utility/StreamGDBRemote.h"
 #include "lldb/Utility/StructuredData.h"
+#if defined(_WIN32)
+#include "lldb/Host/windows/PosixApi.h"
+#endif
 
 #include "llvm/ADT/Optional.h"
 #include "llvm/Support/VersionTuple.h"




More information about the lldb-commits mailing list