changeset 45846:a1fef23ccede

[__hpux]: Include sys/_mbstate_t.h.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 16 Jun 2002 17:30:50 +0000
parents dfaf0f62e932
children b8222731ac88
files src/strftime.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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) */