diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-10 21:41:08 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-10 21:41:08 +0000 |
commit | 721d1fdaa6c552dbc86090f9cd7b54b150f15915 (patch) | |
tree | 6826f41d7546600b644caa126407376f2d5d91df /Modules/_localemodule.c | |
parent | 6986881080c2cb4110f5a14d02fcd0d0724f7a44 (diff) | |
download | cpython-721d1fdaa6c552dbc86090f9cd7b54b150f15915.tar.gz |
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.
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r-- | Modules/_localemodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 0ea95e4f4d..030f9d6e59 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 <stdio.h> #include <errno.h> #include <locale.h> @@ -16,8 +18,6 @@ This software comes with no warranty. Use at your own risk. #include <limits.h> #include <ctype.h> -#include "Python.h" - #if defined(MS_WIN32) #define WINDOWS_LEAN_AND_MEAN #include <windows.h> |