diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-02 19:09:58 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-02 19:09:58 +0000 |
commit | 509c884048deafc7b51ca8a2fc1dd5790ac552f8 (patch) | |
tree | 3356db8b596986f7ba0abaee73c34cd0765e6f93 | |
parent | 40028046cdbf54bdf883d4c462f942649cf608fd (diff) | |
download | bcm5719-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.h | 3 |
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" |