mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
This commit is contained in:
parent
1cfe009b96
commit
6c01e38677
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue