From 241622b8c0d1959f00d63ec0c921f76e348a4091 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 3 Oct 2006 06:33:39 +0000
Subject: [PATCH] * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.

---
 lib/ChangeLog  | 4 ++++
 lib/quotearg.c | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/lib/ChangeLog b/lib/ChangeLog
index cf41602903..fb57d99d39 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-02  Paolo Bonzini  <bonzini@gnu.org>  (tiny change)
+
+	* quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
+
 2006-09-29  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Work around bug in Solaris 10 /proc file system:
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 381f00acc1..fcff495e93 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -51,6 +51,8 @@
    syntax.  */
 # undef MB_CUR_MAX
 # define MB_CUR_MAX 1
+# undef mbstate_t
+# define mbstate_t int
 # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
 # define iswprint(wc) isprint ((unsigned char) (wc))
 # undef HAVE_MBSINIT
-- 
2.39.5