gdb-remote: fix the build on Windows

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

llvm-svn: 359816
This commit is contained in:
Saleem Abdulrasool 2019-05-02 19:09:58 +00:00
parent 40028046cd
commit 509c884048
1 changed files with 3 additions and 0 deletions

View File

@ -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"