Fix build on Windows (PATH_MAX was undefined) after r231858
authorIlia K <ki.stfu@gmail.com>
Wed, 11 Mar 2015 11:24:10 +0000 (11:24 +0000)
committerIlia K <ki.stfu@gmail.com>
Wed, 11 Mar 2015 11:24:10 +0000 (11:24 +0000)
llvm-svn: 231917

lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp

index 9ea3fad..41974ff 100644 (file)
@@ -35,7 +35,7 @@
 #else
 #include <unistd.h> // For the ::access()
 #endif              // _WIN32
-#include <limits.h>
+#include <limits.h> // for PATH_MAX
 
 // In-house headers:
 #include "MICmnLLDBDebuggerHandleEvents.h"
@@ -50,6 +50,7 @@
 #include "MICmnStreamStderr.h"
 #include "MIUtilDebug.h"
 #include "MIDriver.h"
+#include "Platform.h" // for PATH_MAX on Windows
 
 //++ ------------------------------------------------------------------------------------
 // Details: CMICmnLLDBDebuggerHandleEvents constructor.