Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c01e38

Browse files
author
Stefan Krah
committed
Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
1 parent 1cfe009 commit 6c01e38

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ Randall Hopper
545545
Nadav Horesh
546546
Alon Horev
547547
Jan Hosang
548+
Alan Hourihane
548549
Ken Howard
549550
Brad Howes
550551
Mike Hoy

Python/fileutils.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#include "Python.h"
22
#include "osdefs.h"
3+
#include <locale.h>
4+
35
#ifdef MS_WINDOWS
46
# include <windows.h>
57
#endif
68

79
#ifdef HAVE_LANGINFO_H
8-
#include <locale.h>
910
#include <langinfo.h>
1011
#endif
1112

0 commit comments

Comments
 (0)