diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-05-02 07:27:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-05-02 07:27:47 (GMT) |
commit | 9652baaf448571ff382fdba868b9402fd3b58751 (patch) | |
tree | 42d23f2781cd6941808f1ef105c126ce633136b5 /Modules/expat/xmlparse.c | |
parent | 017e68c413be6262eb1e71b0f0c5676d6db33a43 (diff) | |
download | cpython-9652baaf448571ff382fdba868b9402fd3b58751.zip cpython-9652baaf448571ff382fdba868b9402fd3b58751.tar.gz cpython-9652baaf448571ff382fdba868b9402fd3b58751.tar.bz2 |
Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.
The problem was that pyconfig.h was being included before some system headers
which caused redefinitions and other breakage. This moves system headers
after expat_config.h which includes pyconfig.h.
Diffstat (limited to 'Modules/expat/xmlparse.c')
-rw-r--r-- | Modules/expat/xmlparse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c index 3372bc9..42d95b7 100644 --- a/Modules/expat/xmlparse.c +++ b/Modules/expat/xmlparse.c @@ -2,10 +2,6 @@ See the file COPYING for copying permission. */ -#include <stddef.h> -#include <string.h> /* memset(), memcpy() */ -#include <assert.h> - #define XML_BUILDING_EXPAT 1 #ifdef COMPILED_FROM_DSP @@ -16,6 +12,10 @@ #include <expat_config.h> #endif /* ndef COMPILED_FROM_DSP */ +#include <stddef.h> +#include <string.h> /* memset(), memcpy() */ +#include <assert.h> + #include "expat.h" #ifdef XML_UNICODE |