diff --git a/wxPython/wxSWIG/swig_lib/python/pyexp.swg b/wxPython/wxSWIG/swig_lib/python/pyexp.swg index a7305579be..fdb93c57ae 100644 --- a/wxPython/wxSWIG/swig_lib/python/pyexp.swg +++ b/wxPython/wxSWIG/swig_lib/python/pyexp.swg @@ -1,3 +1,5 @@ +#include "Python.h" + #include #include /* Definitions for Windows/Unix exporting */ @@ -15,12 +17,9 @@ # define SWIGEXPORT(a) a #endif -#include "Python.h" - #ifdef __cplusplus extern "C" { #endif - extern void SWIG_MakePtr(char *, void *, char *); extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); extern char *SWIG_GetPtr(char *, void **, char *); diff --git a/wxPython/wxSWIG/swig_lib/python/python.swg b/wxPython/wxSWIG/swig_lib/python/python.swg index 9fca855598..bbcd168165 100644 --- a/wxPython/wxSWIG/swig_lib/python/python.swg +++ b/wxPython/wxSWIG/swig_lib/python/python.swg @@ -5,11 +5,11 @@ * Contains variable linking and pointer type-checking code. ************************************************************************/ +#include "Python.h" + #include #include -#include "Python.h" - #ifdef __cplusplus extern "C" { #endif