Reported by Tom G. Christensen <tgc@jupiterrise.com>
in <https://lists.gnu.org/r/bug-gnulib/2017-11/msg00051.html>.
* lib/monetary.in.h: Include also <locale.h>.
+2017-11-26 Bruno Haible <bruno@clisp.org>
+
+ strfmon_l: Fix compilation error with glibc 2.25.
+ Reported by Tom G. Christensen <tgc@jupiterrise.com>
+ in <https://lists.gnu.org/r/bug-gnulib/2017-11/msg00051.html>.
+ * lib/monetary.in.h: Include also <locale.h>.
+
2017-11-24 Paul Eggert <eggert@cs.ucla.edu>
posixtm: remove PDS_LEADING_YEAR
#ifndef _@GUARD_PREFIX@_MONETARY_H
#define _@GUARD_PREFIX@_MONETARY_H
-#if @GNULIB_STRFMON_L@ && @HAVE_XLOCALE_H@
+#if @GNULIB_STRFMON_L@
+# if @HAVE_XLOCALE_H@
/* Get locale_t on Mac OS X 10.12. */
-# include <xlocale.h>
+# include <xlocale.h>
+# endif
+/* Get locale_t on glibc 2.25. */
+# include <locale.h>
#endif
/* Like in <stdio.h>. */