summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-10-14 16:35:53 (GMT)
committerGitHub <noreply@github.com>2021-10-14 16:35:53 (GMT)
commit70b150a366e4d8e426f45d24a421fd70f833a8c5 (patch)
tree8b727696abbd8254f193340df440f5512b04f006
parentf40b230df91f29fa4a84c1d127b4eab56a6eda27 (diff)
downloadcpython-70b150a366e4d8e426f45d24a421fd70f833a8c5.zip
cpython-70b150a366e4d8e426f45d24a421fd70f833a8c5.tar.gz
cpython-70b150a366e4d8e426f45d24a421fd70f833a8c5.tar.bz2
[3.10] no-issue: Make silence about warning '_POSIX_C_SOURCE redefined' (GH-28948) (GH-28951)
-rw-r--r--Modules/expat/xmltok.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
index f2b6b40..5b93571 100644
--- a/Modules/expat/xmltok.c
+++ b/Modules/expat/xmltok.c
@@ -42,16 +42,16 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <stddef.h>
-#include <string.h> /* memcpy */
-#include <stdbool.h>
-
#ifdef _WIN32
# include "winconfig.h"
#endif
#include <expat_config.h>
+#include <stddef.h>
+#include <string.h> /* memcpy */
+#include <stdbool.h>
+
#include "expat_external.h"
#include "internal.h"
#include "xmltok.h"