diff options
author | Juan Manuel Guerrero <juan.guerrero@gmx.de> | 2017-08-27 18:32:36 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-08-27 18:32:36 +0300 |
commit | 010819d5045c3297a0ff2dece45af2e90b17ace5 (patch) | |
tree | d761e91c945485d756c1cdc4c5735ac80ea054c8 /support | |
parent | c039e9d6479c2556199da3053b1a783ec1571a0d (diff) | |
download | egawk-010819d5045c3297a0ff2dece45af2e90b17ace5.tar.gz egawk-010819d5045c3297a0ff2dece45af2e90b17ace5.tar.bz2 egawk-010819d5045c3297a0ff2dece45af2e90b17ace5.zip |
Fix the DJGPP port.
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 4 | ||||
-rw-r--r-- | support/localeinfo.c | 4 |
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); |