summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/wchar.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-10-15 08:23:27 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-10-15 08:23:27 +0000
commit1b13009b2a1eb9a969190d7463e4434386f5f440 (patch)
treebe263ee3003ca41835e18635020e7b1930d18514 /newlib/libc/include/wchar.h
parent597441d79b5e911e2f1af78a6f0650250478c681 (diff)
downloadcygnal-1b13009b2a1eb9a969190d7463e4434386f5f440.tar.gz
cygnal-1b13009b2a1eb9a969190d7463e4434386f5f440.tar.bz2
cygnal-1b13009b2a1eb9a969190d7463e4434386f5f440.zip
* libc/include/wchar.h (struct tm0: Declare as incomplete type.
Diffstat (limited to 'newlib/libc/include/wchar.h')
-rw-r--r--newlib/libc/include/wchar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h
index 252e59d81..234c71e00 100644
--- a/newlib/libc/include/wchar.h
+++ b/newlib/libc/include/wchar.h
@@ -38,6 +38,10 @@
_BEGIN_STD_C
+/* As required by POSIX.1-2008, declare tm as incomplete type.
+ The actual definition is in time.h. */
+struct tm;
+
#ifndef _MBSTATE_T
#define _MBSTATE_T
typedef _mbstate_t mbstate_t;