@@ -101,6 +101,9 @@
// Do we have <alloca.h>?
#define HAVE_ALLOCA_H 1
+// Do we have <locale.h>?
+#define HAVE_LOCALE_H 1
+
// Do we have <minmax.h>?
#define HAVE_MINMAX_H
@@ -104,6 +104,9 @@
#define HAVE_ALLOCA_H
+#define HAVE_LOCALE_H
#define HAVE_MINMAX_H 1
@@ -223,6 +223,9 @@ $[cdefine HAVE_MALLOC_H]
/* Define if you have the <alloca.h> header file. */
$[cdefine HAVE_ALLOCA_H]
+/* Define if you have the <locale.h> header file. */
+$[cdefine HAVE_LOCALE_H]
/* Define if you have the <minmax.h> header file. */
$[cdefine HAVE_MINMAX_H]
@@ -108,6 +108,10 @@
#include <io.h>
#endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
#ifdef HAVE_MINMAX_H
#include <minmax.h>