Skip to content

Commit 1845d14

Browse files
committed
Issue python#17905: Do not guard locale include with HAVE_LANGINFO_H.
1 parent 0996fa3 commit 1845d14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/sysmodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Data members:
2020
#include "pythread.h"
2121

2222
#include "osdefs.h"
23+
#include <locale.h>
2324

2425
#ifdef MS_WINDOWS
2526
#define WIN32_LEAN_AND_MEAN
@@ -33,7 +34,6 @@ extern const char *PyWin_DLLVersionString;
3334
#endif
3435

3536
#ifdef HAVE_LANGINFO_H
36-
#include <locale.h>
3737
#include <langinfo.h>
3838
#endif
3939

0 commit comments

Comments
 (0)