summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmltok.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-05-02 07:27:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-05-02 07:27:47 (GMT)
commit9652baaf448571ff382fdba868b9402fd3b58751 (patch)
tree42d23f2781cd6941808f1ef105c126ce633136b5 /Modules/expat/xmltok.c
parent017e68c413be6262eb1e71b0f0c5676d6db33a43 (diff)
downloadcpython-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/xmltok.c')
-rw-r--r--Modules/expat/xmltok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
index 160fa40..8b9d997 100644
--- a/Modules/expat/xmltok.c
+++ b/Modules/expat/xmltok.c
@@ -2,8 +2,6 @@
See the file COPYING for copying permission.
*/
-#include <stddef.h>
-
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
@@ -14,6 +12,8 @@
#endif
#endif /* ndef COMPILED_FROM_DSP */
+#include <stddef.h>
+
#include "expat_external.h"
#include "internal.h"
#include "xmltok.h"