summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-05-02 19:09:58 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-05-02 19:09:58 +0000
commit509c884048deafc7b51ca8a2fc1dd5790ac552f8 (patch)
tree3356db8b596986f7ba0abaee73c34cd0765e6f93
parent40028046cdbf54bdf883d4c462f942649cf608fd (diff)
downloadbcm5719-llvm-509c884048deafc7b51ca8a2fc1dd5790ac552f8.tar.gz
bcm5719-llvm-509c884048deafc7b51ca8a2fc1dd5790ac552f8.zip
gdb-remote: fix the build on Windows
Windows does not have a definition for `mode_t`. Include the appropriate header. llvm-svn: 359816
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index 533f23a7207..de85c9f8b67 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -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"
OpenPOWER on IntegriCloud