diff src/strftime.c @ 45846:a1fef23ccede

[__hpux]: Include sys/_mbstate_t.h.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 16 Jun 2002 17:30:50 +0000
parents 38d2cf408e27
children 4458f91cfb2b d7ddb3e565de
line wrap: on
line diff
--- a/src/strftime.c	Sun Jun 16 17:12:35 2002 +0000
+++ b/src/strftime.c	Sun Jun 16 17:30:50 2002 +0000
@@ -68,6 +68,9 @@
 #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) */