summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/quotearg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index b92d3b64a..0f2cc4919 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -67,6 +67,7 @@
size_t mbrtowc ();
# ifdef mbstate_t
# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
+# define mbsinit(ps) 1
# endif
#else
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)