summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-14 09:36:19 -0700
committerGitHub <noreply@github.com>2021-10-14 09:36:19 -0700
commit38fadbc5b9fce409af4f40a093575535709a9bb0 (patch)
tree722b824c0e92eb28fd30ddf1b60ee17801d24911
parentfb7203453855a43907048ff2b8f9b890305b3d15 (diff)
downloadcpython-git-38fadbc5b9fce409af4f40a093575535709a9bb0.tar.gz
no-issue: Make silence about warning '_POSIX_C_SOURCE redefined' (GH-28948)
(cherry picked from commit d413c503636cde2a6ab0ada25dccb0134633a8e6) Co-authored-by: Dong-hee Na <donghee.na@python.org>
-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 f2b6b40606..5b93571874 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"