aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-08-28 22:12:16 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-08-28 22:12:16 +0300
commite3d10b231e20e64c673556d3ed4eb96dbe8bbff3 (patch)
tree78efa4ed54bba9c56e8d0112f5eeb7903a9bb6da /support
parentebb3d8ff179f99fd2abf088743b1076fb8eaa20b (diff)
parent00af70530b9a79dbeee4d0e7a0fafdb9bee134d5 (diff)
downloadegawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.tar.gz
egawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.tar.bz2
egawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.zip
Merge branch 'master' into feature/fix-comments
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);