diff options
author | Christian Heimes <christian@cheimes.de> | 2013-12-06 22:43:50 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-12-06 22:43:50 (GMT) |
commit | aa15276ee9554922919df1eb1a78826a102fb321 (patch) | |
tree | 731753860493211ee88b57c876260ee5069761f7 /Modules/expat/xmltok.c | |
parent | 1a605ed5a33dbeec6b98d2a073fbbe3fcfdd84c0 (diff) | |
download | cpython-aa15276ee9554922919df1eb1a78826a102fb321.zip cpython-aa15276ee9554922919df1eb1a78826a102fb321.tar.gz cpython-aa15276ee9554922919df1eb1a78826a102fb321.tar.bz2 |
Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded.
This silences the pre-processor warning '_POSIX_C_SOURCE redefined'.
Diffstat (limited to 'Modules/expat/xmltok.c')
-rw-r--r-- | Modules/expat/xmltok.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c index b9cd7a4..fd6bf7a 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) @@ -18,6 +16,8 @@ #endif #endif /* ndef COMPILED_FROM_DSP */ +#include <stddef.h> + #include "expat_external.h" #include "internal.h" #include "xmltok.h" |