diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c index 7c6a8017eaf..c46b6010baa 100644 --- a/Modules/expat/xmlparse.c +++ b/Modules/expat/xmlparse.c @@ -9,7 +9,9 @@ See the file COPYING for copying permission. # include "expat.h" # undef XMLPARSEAPI #else +#ifdef HAVE_CONFIG_H #include +#endif #ifdef __declspec # define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c index 20a14441550..bdb50c63176 100644 --- a/Modules/expat/xmlrole.c +++ b/Modules/expat/xmlrole.c @@ -9,7 +9,9 @@ static char RCSId[] #ifdef COMPILED_FROM_DSP # include "winconfig.h" #else +#ifdef HAVE_CONFIG_H # include +#endif #endif /* ndef COMPILED_FROM_DSP */ #include "xmlrole.h" diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c index 8a4a363a74e..46be9b0fe52 100644 --- a/Modules/expat/xmltok.c +++ b/Modules/expat/xmltok.c @@ -6,7 +6,9 @@ See the file COPYING for copying permission. #ifdef COMPILED_FROM_DSP # include "winconfig.h" #else +#ifdef HAVE_CONFIG_H # include +#endif #endif /* ndef COMPILED_FROM_DSP */ #include "xmltok.h"