From 299819c458d305253ad8a63fe76a5af872bb9a6f Mon Sep 17 00:00:00 2001 From: Ilia K Date: Thu, 12 Mar 2015 04:18:47 +0000 Subject: [PATCH] Fix PATH_MAX definition after remarks in r231917 (MI) llvm-svn: 232008 --- lldb/tools/lldb-mi/Driver.cpp | 3 +-- lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp | 3 +-- lldb/tools/lldb-mi/Platform.h | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lldb/tools/lldb-mi/Driver.cpp b/lldb/tools/lldb-mi/Driver.cpp index 2a90763..8d2840f 100644 --- a/lldb/tools/lldb-mi/Driver.cpp +++ b/lldb/tools/lldb-mi/Driver.cpp @@ -16,13 +16,12 @@ #include #include #include -#include #include #include #endif // _MSC_VER #include "Platform.h" // CODETAG_IOR_SIGNALS -#include "Driver.h" +#include "Driver.h" // for PATH_MAX #ifdef _MSC_VER #include diff --git a/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp b/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp index 41974ff..69746f1 100644 --- a/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp +++ b/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp @@ -35,7 +35,6 @@ #else #include // For the ::access() #endif // _WIN32 -#include // for PATH_MAX // In-house headers: #include "MICmnLLDBDebuggerHandleEvents.h" @@ -50,7 +49,7 @@ #include "MICmnStreamStderr.h" #include "MIUtilDebug.h" #include "MIDriver.h" -#include "Platform.h" // for PATH_MAX on Windows +#include "Platform.h" // for PATH_MAX //++ ------------------------------------------------------------------------------------ // Details: CMICmnLLDBDebuggerHandleEvents constructor. diff --git a/lldb/tools/lldb-mi/Platform.h b/lldb/tools/lldb-mi/Platform.h index 7c35131..ee63631 100644 --- a/lldb/tools/lldb-mi/Platform.h +++ b/lldb/tools/lldb-mi/Platform.h @@ -89,6 +89,7 @@ extern sighandler_t signal(int sig, sighandler_t); #else #include +#include #include #include -- 2.7.4