From 68933b94d38e611be987fb62e3ef25af054eec95 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 10 Aug 2000 21:41:08 +0000 Subject: Clean up compiler warning exposed by GCC's -Wall option: make sure Python.h is included before standard headers since we set _GNU_SOURCE there. This ensures that strdup() is prototyped. --- Modules/_localemodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 0ea95e4..030f9d6 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -9,6 +9,8 @@ This software comes with no warranty. Use at your own risk. ******************************************************************/ +#include "Python.h" + #include #include #include @@ -16,8 +18,6 @@ This software comes with no warranty. Use at your own risk. #include #include -#include "Python.h" - #if defined(MS_WIN32) #define WINDOWS_LEAN_AND_MEAN #include -- cgit v0.12