summaryrefslogtreecommitdiff
path: root/modules/strftime
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-01-02 09:58:09 +0100
committerJim Meyering <meyering@redhat.com>2009-01-02 09:59:17 +0100
commit50ad42330bc3635768964dc2626ffe0823992016 (patch)
tree1f5c70590408408363010a1dd4113814c61dc9ee /modules/strftime
parentfd0d369d2cab8949e3627f0a2e6e43bcc896dccb (diff)
downloadgnulib-50ad42330bc3635768964dc2626ffe0823992016.tar.gz
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>.
Diffstat (limited to 'modules/strftime')
-rw-r--r--modules/strftime2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/strftime b/modules/strftime
index cc45452875..dc53916038 100644
--- a/modules/strftime
+++ b/modules/strftime
@@ -10,6 +10,8 @@ m4/strftime.m4
Depends-on:
extensions
+mbrlen
+mbsinit
stdbool
time_r
wchar