From: Eli Zaretskii Date: Sun, 16 Jun 2002 17:36:57 +0000 (+0000) Subject: [__hpux]: Include sys/_mbstate_t.h. X-Git-Tag: emacs-pretest-21.2.91~231 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f62e75a1901028a7d6b65792a78b46909565a75;p=emacs.git [__hpux]: Include sys/_mbstate_t.h. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0bc50ad997f..bececc6a1ec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-06-16 Eli Zaretskii + + * strftime.c: [__hpux]: Include sys/_mbstate_t.h. + 2002-06-13 Stefan Monnier * xterm.c (XTread_socket): Always decode X*LookupString's output. diff --git a/src/strftime.c b/src/strftime.c index 61047bf9578..747967a4844 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -68,6 +68,11 @@ extern char *tzname[]; #if DO_MULTIBYTE # if HAVE_MBRLEN # include +# ifndef mbstate_h +# if __hpux +# include +# endif +# endif # else /* Simulate mbrlen with mblen as best we can. */ # define mbstate_t int