summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
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) */