From 8acdbb8a755f184c991f4e24abcbf6a9167735f6 Mon Sep 17 00:00:00 2001 From: Stephen Wilson Date: Fri, 8 Apr 2011 13:36:44 +0000 Subject: [PATCH] Add missing headers. Something changed in commit r129112 where a few standard headers vanished from the include chain when building on Linux. Fix up by including limits.h for INT_MAX and PATH_MAX where needed, and stdio.h for printf(). llvm-svn: 129130 --- lldb/include/lldb/Core/StreamTee.h | 2 ++ lldb/include/lldb/Core/StringList.h | 1 + lldb/source/API/SBFileSpec.cpp | 2 ++ lldb/source/API/SBLineEntry.cpp | 2 ++ lldb/source/Core/DataBufferMemoryMap.cpp | 1 + lldb/source/Core/PluginManager.cpp | 2 ++ lldb/source/Host/common/File.cpp | 1 + lldb/source/Host/common/Host.cpp | 1 + lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp | 1 + 9 files changed, 13 insertions(+) diff --git a/lldb/include/lldb/Core/StreamTee.h b/lldb/include/lldb/Core/StreamTee.h index 28951d17f6e2..d315551c73a4 100644 --- a/lldb/include/lldb/Core/StreamTee.h +++ b/lldb/include/lldb/Core/StreamTee.h @@ -10,6 +10,8 @@ #ifndef liblldb_StreamTee_h_ #define liblldb_StreamTee_h_ +#include + #include "lldb/Core/Stream.h" #include "lldb/Host/Mutex.h" diff --git a/lldb/include/lldb/Core/StringList.h b/lldb/include/lldb/Core/StringList.h index f448a6704175..b080919e87d0 100644 --- a/lldb/include/lldb/Core/StringList.h +++ b/lldb/include/lldb/Core/StringList.h @@ -10,6 +10,7 @@ #ifndef liblldb_StringList_h_ #define liblldb_StringList_h_ +#include #include "lldb/Core/STLUtils.h" #include "lldb/lldb-forward.h" diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp index 89275cfcfc90..a3a503dd6016 100644 --- a/lldb/source/API/SBFileSpec.cpp +++ b/lldb/source/API/SBFileSpec.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#include + #include "lldb/API/SBFileSpec.h" #include "lldb/API/SBStream.h" #include "lldb/Host/FileSpec.h" diff --git a/lldb/source/API/SBLineEntry.cpp b/lldb/source/API/SBLineEntry.cpp index 5187d584b7dc..3567a3839c5d 100644 --- a/lldb/source/API/SBLineEntry.cpp +++ b/lldb/source/API/SBLineEntry.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#include + #include "lldb/API/SBLineEntry.h" #include "lldb/API/SBStream.h" #include "lldb/Core/StreamString.h" diff --git a/lldb/source/Core/DataBufferMemoryMap.cpp b/lldb/source/Core/DataBufferMemoryMap.cpp index 83060d5584e0..cf88f34c38e7 100644 --- a/lldb/source/Core/DataBufferMemoryMap.cpp +++ b/lldb/source/Core/DataBufferMemoryMap.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp index a853c5079086..ae89c72b9ab5 100644 --- a/lldb/source/Core/PluginManager.cpp +++ b/lldb/source/Core/PluginManager.cpp @@ -9,6 +9,8 @@ #include "lldb/Core/PluginManager.h" +#include + #include #include diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 5a97bc987027..fefa3437efa9 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -11,6 +11,7 @@ #include "lldb/Host/File.h" #include +#include #include #include diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 987d0b27f6c2..5d984020da2e 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp index 13178af6e43b..8e3461dfc7bc 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp @@ -10,6 +10,7 @@ #include "DWARFDebugAranges.h" #include +#include #include