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
Alon Horev
Jan Hosang
Alan Hourihane
Ken Howard
Brad Howes
Mike Hoy

View File

@ -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