summaryrefslogtreecommitdiff
path: root/Modules/expat/xmlparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/expat/xmlparse.c')
-rw-r--r--Modules/expat/xmlparse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c
index e740f0e19c..09ccacb5aa 100644
--- a/Modules/expat/xmlparse.c
+++ b/Modules/expat/xmlparse.c
@@ -39,6 +39,12 @@
# define _CRT_RAND_S
#endif
+#ifdef _WIN32
+# include "winconfig.h"
+#elif defined(HAVE_EXPAT_CONFIG_H)
+# include <expat_config.h>
+#endif /* ndef _WIN32 */
+
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
#include <assert.h>
@@ -58,12 +64,6 @@
#define XML_BUILDING_EXPAT 1
-#ifdef _WIN32
-# include "winconfig.h"
-#elif defined(HAVE_EXPAT_CONFIG_H)
-# include <expat_config.h>
-#endif /* ndef _WIN32 */
-
#include "ascii.h"
#include "expat.h"
#include "siphash.h"