From 1f62e75a1901028a7d6b65792a78b46909565a75 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 16 Jun 2002 17:36:57 +0000 Subject: [PATCH] [__hpux]: Include sys/_mbstate_t.h. --- src/ChangeLog | 4 ++++ src/strftime.c | 5 +++++ 2 files changed, 9 insertions(+) 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 -- 2.39.2