aboutsummaryrefslogtreecommitdiffstats
path: root/support/localeinfo.c
diff options
context:
space:
mode:
authorJuan Manuel Guerrero <juan.guerrero@gmx.de>2017-08-27 18:32:36 +0300
committerEli Zaretskii <eliz@gnu.org>2017-08-27 18:32:36 +0300
commit010819d5045c3297a0ff2dece45af2e90b17ace5 (patch)
treed761e91c945485d756c1cdc4c5735ac80ea054c8 /support/localeinfo.c
parentc039e9d6479c2556199da3053b1a783ec1571a0d (diff)
downloadegawk-010819d5045c3297a0ff2dece45af2e90b17ace5.tar.gz
egawk-010819d5045c3297a0ff2dece45af2e90b17ace5.tar.bz2
egawk-010819d5045c3297a0ff2dece45af2e90b17ace5.zip
Fix the DJGPP port.
Diffstat (limited to 'support/localeinfo.c')
-rw-r--r--support/localeinfo.c4
1 files changed, 4 insertions, 0 deletions
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);