Do not worry about whether locale.h is includable

* src/emacs.c, src/lread.c, src/sysdep.c: Remove preconditions
from including locale.h.  It was standardized in C89, is universal
now, and some code already assumes it.
This commit is contained in:
Paul Eggert 2024-06-30 00:20:42 +01:00
parent 4a8c8021cc
commit d2b847d291
3 changed files with 3 additions and 12 deletions

View file

@ -4551,9 +4551,7 @@ does the same thing as `current-time'. */)
# include <wchar.h>
# include <wctype.h>
# if defined HAVE_NEWLOCALE || defined HAVE_SETLOCALE
# include <locale.h>
# endif
# include <locale.h>
# ifndef LC_COLLATE
# define LC_COLLATE 0
# endif