Ilod created this revision.
Ilod added reviewers: labath, zturner, clayborg.
Ilod added a subscriber: lldb-commits.

Fix the windows build after r285702.
The removal of TimeValue.h inclusion removed the inner inclusion of PosixApi.h, 
which defined PATH_MAX on windows, used by many other files.
Adding the PosixApi.h inclusion should not cause a problem (it only include 
llvm/Support/Compiler.h on non-windows platform, and the needed file on windows 
ones).


https://reviews.llvm.org/D26209

Files:
  include/lldb/Host/FileSpec.h


Index: include/lldb/Host/FileSpec.h
===================================================================
--- include/lldb/Host/FileSpec.h
+++ include/lldb/Host/FileSpec.h
@@ -19,6 +19,7 @@
 // Project includes
 #include "lldb/Core/ConstString.h"
 #include "lldb/Core/STLUtils.h"
+#include "lldb/Host/PosixApi.h"
 #include "lldb/lldb-private.h"
 
 namespace lldb_private {


Index: include/lldb/Host/FileSpec.h
===================================================================
--- include/lldb/Host/FileSpec.h
+++ include/lldb/Host/FileSpec.h
@@ -19,6 +19,7 @@
 // Project includes
 #include "lldb/Core/ConstString.h"
 #include "lldb/Core/STLUtils.h"
+#include "lldb/Host/PosixApi.h"
 #include "lldb/lldb-private.h"
 
 namespace lldb_private {
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to