aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog4
-rw-r--r--support/localeinfo.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index bc535ea8..5a9f5e93 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2017-08-27 Juan Manuel Guerrero <juan.guerrero@gmx.de>
+
+ * localeinfo.c [__DJGPP__]: Include mbsupport.h.
+
2017-06-25 Andrew J. Schorr <aschorr@telemetry-investments.com>
* dfa.c (dfaalloc): Replace xmalloc+memset with xzalloc.
diff --git a/support/localeinfo.c b/support/localeinfo.c
index ece679e3..4d77ec27 100644
--- a/support/localeinfo.c
+++ b/support/localeinfo.c
@@ -31,6 +31,10 @@
#include <string.h>
#include <wctype.h>
+#if defined(__DJGPP__)
+#include "mbsupport.h"
+#endif
+
/* The sbclen implementation relies on this. */
verify (MB_LEN_MAX <= SCHAR_MAX);