From 1e9045bf41575b58d5b7ad434f271fe39562f9b8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 2 Jan 2020 12:21:42 +0100 Subject: [PATCH] mbrtowc: Fix compilation error on IRIX (regression from 2019-12-26). * lib/mbrtowc.c: Include . * modules/mbrtowc (Depends-on): Add stdint. --- ChangeLog | 6 ++++++ lib/mbrtowc.c | 1 + modules/mbrtowc | 1 + 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index c1fcf1bbfc..920367591f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-01-02 Bruno Haible + + mbrtowc: Fix compilation error on IRIX (regression from 2019-12-26). + * lib/mbrtowc.c: Include . + * modules/mbrtowc (Depends-on): Add stdint. + 2020-01-01 Pádraig Brady md5, sha1, sha256, sha512: support --with-openssl=auto-gpl-compat diff --git a/lib/mbrtowc.c b/lib/mbrtowc.c index 14467e6b4a..9cc9f5d026 100644 --- a/lib/mbrtowc.c +++ b/lib/mbrtowc.c @@ -29,6 +29,7 @@ /* Implement mbrtowc() on top of mbtowc(). */ # include +# include # include # include "localcharset.h" diff --git a/modules/mbrtowc b/modules/mbrtowc index 9c3efe1909..d2dc54cf9a 100644 --- a/modules/mbrtowc +++ b/modules/mbrtowc @@ -13,6 +13,7 @@ m4/codeset.m4 Depends-on: wchar extensions +stdint [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] hard-locale [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] mbsinit [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] localcharset [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] -- 2.39.5