summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-06-16 17:30:50 +0000
committerEli Zaretskii <eliz@gnu.org>2002-06-16 17:30:50 +0000
commitcfc905a11023309b2bc493a0b4e8f313c703fafd (patch)
treee5189a8e768aedcf66005228f6804e09d0208d28 /src/strftime.c
parent36c108d812b3e49dba6f4069f51b59109bec5d21 (diff)
downloademacs-cfc905a11023309b2bc493a0b4e8f313c703fafd.tar.gz
[__hpux]: Include sys/_mbstate_t.h.
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/strftime.c b/src/strftime.c
index e7a87a9bf8c..e5953152aa0 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -68,6 +68,9 @@ extern char *tzname[];
#if DO_MULTIBYTE
# if HAVE_MBRLEN
# include <wchar.h>
+# if __hpux
+# include <sys/_mbstate_t.h>
+# endif
# if !defined (mbsinit) && !defined (HAVE_MBSINIT)
# define mbsinit(ps) 1
# endif /* !defined (mbsinit) && !defined (HAVE_MBSINIT) */