Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.

This commit is contained in:
Stefan Krah 2014-01-20 15:31:08 +01:00
parent 1cfe009b96
commit 6c01e38677
2 changed files with 3 additions and 1 deletions

View File

@ -545,6 +545,7 @@ Randall Hopper
Nadav Horesh Nadav Horesh
Alon Horev Alon Horev
Jan Hosang Jan Hosang
Alan Hourihane
Ken Howard Ken Howard
Brad Howes Brad Howes
Mike Hoy Mike Hoy

View File

@ -1,11 +1,12 @@
#include "Python.h" #include "Python.h"
#include "osdefs.h" #include "osdefs.h"
#include <locale.h>
#ifdef MS_WINDOWS #ifdef MS_WINDOWS
# include <windows.h> # include <windows.h>
#endif #endif
#ifdef HAVE_LANGINFO_H #ifdef HAVE_LANGINFO_H
#include <locale.h>
#include <langinfo.h> #include <langinfo.h>
#endif #endif