[Lldb-commits] [lldb] r129130 - in /lldb/trunk: include/lldb/Core/StreamTee.h include/lldb/Core/StringList.h source/API/SBFileSpec.cpp source/API/SBLineEntry.cpp source/Core/DataBufferMemoryMap.cpp source/Core/PluginManager.cpp source/Host/common/File.cpp source/Host/common/Host.cpp source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
Stephen Wilson
wilsons at start.ca
Fri Apr 8 06:36:44 PDT 2011
Author: wilsons
Date: Fri Apr 8 08:36:44 2011
New Revision: 129130
URL: http://llvm.org/viewvc/llvm-project?rev=129130&view=rev
Log:
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().
Modified:
lldb/trunk/include/lldb/Core/StreamTee.h
lldb/trunk/include/lldb/Core/StringList.h
lldb/trunk/source/API/SBFileSpec.cpp
lldb/trunk/source/API/SBLineEntry.cpp
lldb/trunk/source/Core/DataBufferMemoryMap.cpp
lldb/trunk/source/Core/PluginManager.cpp
lldb/trunk/source/Host/common/File.cpp
lldb/trunk/source/Host/common/Host.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
Modified: lldb/trunk/include/lldb/Core/StreamTee.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/StreamTee.h?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/StreamTee.h (original)
+++ lldb/trunk/include/lldb/Core/StreamTee.h Fri Apr 8 08:36:44 2011
@@ -10,6 +10,8 @@
#ifndef liblldb_StreamTee_h_
#define liblldb_StreamTee_h_
+#include <limits.h>
+
#include "lldb/Core/Stream.h"
#include "lldb/Host/Mutex.h"
Modified: lldb/trunk/include/lldb/Core/StringList.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/StringList.h?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/StringList.h (original)
+++ lldb/trunk/include/lldb/Core/StringList.h Fri Apr 8 08:36:44 2011
@@ -10,6 +10,7 @@
#ifndef liblldb_StringList_h_
#define liblldb_StringList_h_
+#include <stdint.h>
#include "lldb/Core/STLUtils.h"
#include "lldb/lldb-forward.h"
Modified: lldb/trunk/source/API/SBFileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBFileSpec.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/API/SBFileSpec.cpp (original)
+++ lldb/trunk/source/API/SBFileSpec.cpp Fri Apr 8 08:36:44 2011
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <limits.h>
+
#include "lldb/API/SBFileSpec.h"
#include "lldb/API/SBStream.h"
#include "lldb/Host/FileSpec.h"
Modified: lldb/trunk/source/API/SBLineEntry.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBLineEntry.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/API/SBLineEntry.cpp (original)
+++ lldb/trunk/source/API/SBLineEntry.cpp Fri Apr 8 08:36:44 2011
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <limits.h>
+
#include "lldb/API/SBLineEntry.h"
#include "lldb/API/SBStream.h"
#include "lldb/Core/StreamString.h"
Modified: lldb/trunk/source/Core/DataBufferMemoryMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/DataBufferMemoryMap.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/Core/DataBufferMemoryMap.cpp (original)
+++ lldb/trunk/source/Core/DataBufferMemoryMap.cpp Fri Apr 8 08:36:44 2011
@@ -10,6 +10,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/mman.h>
Modified: lldb/trunk/source/Core/PluginManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/PluginManager.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/Core/PluginManager.cpp (original)
+++ lldb/trunk/source/Core/PluginManager.cpp Fri Apr 8 08:36:44 2011
@@ -9,6 +9,8 @@
#include "lldb/Core/PluginManager.h"
+#include <limits.h>
+
#include <string>
#include <vector>
Modified: lldb/trunk/source/Host/common/File.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/File.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/File.cpp (original)
+++ lldb/trunk/source/Host/common/File.cpp Fri Apr 8 08:36:44 2011
@@ -11,6 +11,7 @@
#include "lldb/Host/File.h"
#include <fcntl.h>
+#include <limits.h>
#include <stdarg.h>
#include <sys/stat.h>
Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Fri Apr 8 08:36:44 2011
@@ -25,6 +25,7 @@
#include <dlfcn.h>
#include <errno.h>
#include <grp.h>
+#include <limits.h>
#include <netdb.h>
#include <pwd.h>
#include <sys/types.h>
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp?rev=129130&r1=129129&r2=129130&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp Fri Apr 8 08:36:44 2011
@@ -10,6 +10,7 @@
#include "DWARFDebugAranges.h"
#include <assert.h>
+#include <stdio.h>
#include <algorithm>
More information about the lldb-commits
mailing list