summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-04-08 13:36:44 +0000
committerStephen Wilson <wilsons@start.ca>2011-04-08 13:36:44 +0000
commit8acdbb8a755f184c991f4e24abcbf6a9167735f6 (patch)
treec0f4b80a095c96bd1358d2004e30fe92e3b93007 /lldb/source/Core
parent466d0c1f9339583e548ce55b93c69b034c6ab85f (diff)
downloadbcm5719-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/Core')
-rw-r--r--lldb/source/Core/DataBufferMemoryMap.cpp1
-rw-r--r--lldb/source/Core/PluginManager.cpp2
2 files changed, 3 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud