Browse Source

general: Remove a few hacked-in includes once needed for CMake to build properly.

Sam Edwards 10 years ago
parent
commit
28a60ff52e

+ 0 - 4
dtool/src/dtoolutil/filename.cxx

@@ -49,10 +49,6 @@
 #include <unistd.h>
 #include <unistd.h>
 #endif
 #endif
 
 
-#ifdef HAVE_PYTHON
-#include "Python.h"
-#endif
-
 TextEncoder::Encoding Filename::_filesystem_encoding = TextEncoder::E_utf8;
 TextEncoder::Encoding Filename::_filesystem_encoding = TextEncoder::E_utf8;
 
 
 TVOLATILE AtomicAdjust::Pointer Filename::_home_directory;
 TVOLATILE AtomicAdjust::Pointer Filename::_home_directory;

+ 0 - 4
dtool/src/dtoolutil/globPattern.cxx

@@ -15,10 +15,6 @@
 #include "globPattern.h"
 #include "globPattern.h"
 #include <ctype.h>
 #include <ctype.h>
 
 
-#ifdef HAVE_PYTHON
-#include "Python.h"
-#endif
-
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: GlobPattern::has_glob_characters
 //     Function: GlobPattern::has_glob_characters
 //       Access: Published
 //       Access: Published

+ 0 - 1
panda/src/putil/callbackObject_ext.h

@@ -16,7 +16,6 @@
 #define CALLBACKOBJECT_EXT_H
 #define CALLBACKOBJECT_EXT_H
 
 
 #include "dtoolbase.h"
 #include "dtoolbase.h"
-#include "pointerTo.h"
 
 
 #ifdef HAVE_PYTHON
 #ifdef HAVE_PYTHON