From 28a60ff52e8524ceed3cbcd24594b6ee2f56d180 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Wed, 11 Nov 2015 12:53:35 -0800 Subject: [PATCH] general: Remove a few hacked-in includes once needed for CMake to build properly. --- dtool/src/dtoolutil/filename.cxx | 4 ---- dtool/src/dtoolutil/globPattern.cxx | 4 ---- panda/src/putil/callbackObject_ext.h | 1 - 3 files changed, 9 deletions(-) diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index bc8b1dc00a..143bbde0a3 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -49,10 +49,6 @@ #include #endif -#ifdef HAVE_PYTHON -#include "Python.h" -#endif - TextEncoder::Encoding Filename::_filesystem_encoding = TextEncoder::E_utf8; TVOLATILE AtomicAdjust::Pointer Filename::_home_directory; diff --git a/dtool/src/dtoolutil/globPattern.cxx b/dtool/src/dtoolutil/globPattern.cxx index 732b724c11..7f7d23a53b 100644 --- a/dtool/src/dtoolutil/globPattern.cxx +++ b/dtool/src/dtoolutil/globPattern.cxx @@ -15,10 +15,6 @@ #include "globPattern.h" #include -#ifdef HAVE_PYTHON -#include "Python.h" -#endif - //////////////////////////////////////////////////////////////////// // Function: GlobPattern::has_glob_characters // Access: Published diff --git a/panda/src/putil/callbackObject_ext.h b/panda/src/putil/callbackObject_ext.h index 1d3af19cea..d72713da19 100644 --- a/panda/src/putil/callbackObject_ext.h +++ b/panda/src/putil/callbackObject_ext.h @@ -16,7 +16,6 @@ #define CALLBACKOBJECT_EXT_H #include "dtoolbase.h" -#include "pointerTo.h" #ifdef HAVE_PYTHON