summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Core/FormatClasses.h16
-rw-r--r--lldb/tools/darwin-debug/darwin-debug.cpp1
2 files changed, 1 insertions, 16 deletions
diff --git a/lldb/include/lldb/Core/FormatClasses.h b/lldb/include/lldb/Core/FormatClasses.h
index 8280c49723e..865a8c48f35 100644
--- a/lldb/include/lldb/Core/FormatClasses.h
+++ b/lldb/include/lldb/Core/FormatClasses.h
@@ -11,22 +11,6 @@
#define lldb_FormatClasses_h_
// C Includes
-
-#ifdef LLDB_DISABLE_PYTHON
-
-struct PyObject;
-
-#else // #ifdef LLDB_DISABLE_PYTHON
-
-#if defined (__APPLE__)
-#include <Python/Python.h>
-#else
-#include <Python.h>
-#endif
-
-#endif // #ifdef LLDB_DISABLE_PYTHON
-
-
#include <stdint.h>
#include <unistd.h>
diff --git a/lldb/tools/darwin-debug/darwin-debug.cpp b/lldb/tools/darwin-debug/darwin-debug.cpp
index 511b6157e43..a3306a53e02 100644
--- a/lldb/tools/darwin-debug/darwin-debug.cpp
+++ b/lldb/tools/darwin-debug/darwin-debug.cpp
@@ -25,6 +25,7 @@
#if defined (__APPLE__)
#include <getopt.h>
+#include <limits.h>
#include <mach/machine.h>
#include <signal.h>
#include <spawn.h>
OpenPOWER on IntegriCloud