strftime: avoid compilation failure on Solaris 2.6
authorJim Meyering <meyering@redhat.com>
Fri, 2 Jan 2009 08:58:09 +0000 (09:58 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 2 Jan 2009 08:59:17 +0000 (09:59 +0100)
commit50ad42330bc3635768964dc2626ffe0823992016
tree1f5c70590408408363010a1dd4113814c61dc9ee
parentfd0d369d2cab8949e3627f0a2e6e43bcc896dccb
strftime: avoid compilation failure on Solaris 2.6

* modules/strftime (Depends-on): Add mbrlen and mbsinit.
* lib/strftime.c [DO_MULTIBYTE]: Include <wchar.h> unconditionally.
Don't #define mbrlen or mbsinit, since now they're guaranteed to
be available.  Reported by Tom G. Christensen.  Details in
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16180>.
ChangeLog
lib/strftime.c
modules/strftime