From cd3307ccd48f845bc1d2bbe4e0c9aafb66296747 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 10 Oct 2009 11:36:31 +0000 Subject: [PATCH] Fix compiler warnings with pyconfig.h --- dtool/src/dtoolbase/dtoolbase.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dtool/src/dtoolbase/dtoolbase.h b/dtool/src/dtoolbase/dtoolbase.h index 4b23279df4..1fea41040d 100644 --- a/dtool/src/dtoolbase/dtoolbase.h +++ b/dtool/src/dtoolbase/dtoolbase.h @@ -94,6 +94,10 @@ #endif #define _WIN32_WINNT 0x0502 +#ifdef HAVE_PYTHON +#include "pyconfig.h" +#endif + #include "dtoolsymbols.h" // always include assert.h until drose unbreaks it for opt4