* lib/strftime.c: Include locale.h unconditionally, simplifying
the code. Emacs is now open for this change, which we had wanted
to do earlier.
+2024-06-27 Paul Eggert <eggert@re>
+
+ nstrftime: always include locale.h
+ * lib/strftime.c: Include locale.h unconditionally, simplifying
+ the code. Emacs is now open for this change, which we had wanted
+ to do earlier.
+
2024-06-27 Collin Funk <collin.funk1@gmail.com>
netdb: Simplify NI_MAXHOST and NI_MAXSERV definitions.
#endif
#include <limits.h>
+#include <locale.h>
#include <stdckdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-#if (((defined __NetBSD__ || defined __sun) && REQUIRE_GNUISH_STRFTIME_AM_PM) \
- || (defined _WIN32 && !defined __CYGWIN__) \
- || (USE_C_LOCALE && HAVE_STRFTIME_L))
-# include <locale.h>
-#endif
-
#if (defined __NetBSD__ || defined __sun) && REQUIRE_GNUISH_STRFTIME_AM_PM
# include "localename.h"
#elif defined _WIN32 && !defined __CYGWIN__