summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
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/API
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/API')
-rw-r--r--lldb/source/API/SBFileSpec.cpp2
-rw-r--r--lldb/source/API/SBLineEntry.cpp2
2 files changed, 4 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"
OpenPOWER on IntegriCloud