diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-01-20 15:31:08 +0100 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-01-20 15:31:08 +0100 |
commit | 4224d21bb8266db7dd385f94de9597776ee624fa (patch) | |
tree | 10ad83fd781c10b62e875301dfc0dbc3d529b114 | |
parent | 156ac84d0d836da0a47806f8967a534f4b255a97 (diff) | |
download | cpython-4224d21bb8266db7dd385f94de9597776ee624fa.tar.gz |
Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Python/fileutils.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -545,6 +545,7 @@ Randall Hopper Nadav Horesh Alon Horev Jan Hosang +Alan Hourihane Ken Howard Brad Howes Mike Hoy diff --git a/Python/fileutils.c b/Python/fileutils.c index dbcb9234e0..d25111f4bb 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -1,11 +1,12 @@ #include "Python.h" #include "osdefs.h" +#include <locale.h> + #ifdef MS_WINDOWS # include <windows.h> #endif #ifdef HAVE_LANGINFO_H -#include <locale.h> #include <langinfo.h> #endif |