Remove unused python includes from headers.

Python.h is a bad c++ citizen and overwrites some functions with its own
macros. This conflicts with libc++'s locale header. I did some refactoring
to use Python.h only where it's actually needed a few months ago so
the unnecessary includes can be removed now.

llvm-svn: 151168
This commit is contained in:
Benjamin Kramer 2012-02-22 16:56:26 +00:00
parent bd5e076201
commit 0f30a3ea25
2 changed files with 1 additions and 16 deletions

View File

@ -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>

View File

@ -25,6 +25,7 @@
#if defined (__APPLE__)
#include <getopt.h>
#include <limits.h>
#include <mach/machine.h>
#include <signal.h>
#include <spawn.h>