summaryrefslogtreecommitdiff
path: root/lib/quotearg.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-31 07:51:13 +0000
committerJim Meyering <jim@meyering.net>2001-08-31 07:51:13 +0000
commitb1828eec81d76ea537c5c48fc2de319082856572 (patch)
tree1a01685910e580156792182c8dd69cc8e7dd9237 /lib/quotearg.c
parenta6ad856b3b368a801adc5b3f1509f334120e5d8e (diff)
downloadcoreutils-b1828eec81d76ea537c5c48fc2de319082856572.tar.xz
BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared.
Diffstat (limited to 'lib/quotearg.c')
-rw-r--r--lib/quotearg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 2a7ba4c44..9d4395977 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -63,6 +63,11 @@
#endif
#if HAVE_WCHAR_H
+
+/* BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared. */
+# include <stdio.h>
+# include <time.h>
+
# include <wchar.h>
#endif