diff options
| author | Stephen Wilson <wilsons@start.ca> | 2011-04-08 13:36:44 +0000 |
|---|---|---|
| committer | Stephen Wilson <wilsons@start.ca> | 2011-04-08 13:36:44 +0000 |
| commit | 8acdbb8a755f184c991f4e24abcbf6a9167735f6 (patch) | |
| tree | c0f4b80a095c96bd1358d2004e30fe92e3b93007 /lldb/source | |
| parent | 466d0c1f9339583e548ce55b93c69b034c6ab85f (diff) | |
| download | bcm5719-llvm-8acdbb8a755f184c991f4e24abcbf6a9167735f6.tar.gz bcm5719-llvm-8acdbb8a755f184c991f4e24abcbf6a9167735f6.zip | |
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
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/API/SBFileSpec.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/API/SBLineEntry.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Core/DataBufferMemoryMap.cpp | 1 | ||||
| -rw-r--r-- | lldb/source/Core/PluginManager.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Host/common/File.cpp | 1 | ||||
| -rw-r--r-- | lldb/source/Host/common/Host.cpp | 1 | ||||
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp | 1 |
7 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp index 89275cfcfc9..a3a503dd601 100644 --- a/lldb/source/API/SBFileSpec.cpp +++ b/lldb/source/API/SBFileSpec.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#include <limits.h> + #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 5187d584b7d..3567a3839c5 100644 --- a/lldb/source/API/SBLineEntry.cpp +++ b/lldb/source/API/SBLineEntry.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#include <limits.h> + #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 83060d5584e..cf88f34c38e 100644 --- a/lldb/source/Core/DataBufferMemoryMap.cpp +++ b/lldb/source/Core/DataBufferMemoryMap.cpp @@ -10,6 +10,7 @@ #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <sys/stat.h> #include <sys/mman.h> diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp index a853c507908..ae89c72b9ab 100644 --- a/lldb/source/Core/PluginManager.cpp +++ b/lldb/source/Core/PluginManager.cpp @@ -9,6 +9,8 @@ #include "lldb/Core/PluginManager.h" +#include <limits.h> + #include <string> #include <vector> diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 5a97bc98702..fefa3437efa 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 <fcntl.h> +#include <limits.h> #include <stdarg.h> #include <sys/stat.h> diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 987d0b27f6c..5d984020da2 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -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> diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp index 13178af6e43..8e3461dfc7b 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 <assert.h> +#include <stdio.h> #include <algorithm> |

