aboutsummaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2016-05-30 16:26:34 +0000
committerEd Schouten <ed@FreeBSD.org>2016-05-30 16:26:34 +0000
commit7e3327be3254104f91c923180407c5c7e9f8dfae (patch)
tree2c972723eddd270655243b50293cf956f1adeb5a /include/wchar.h
parent0977bd1e889aae7c131863a72f37c71bfa0345d1 (diff)
downloadsrc-7e3327be3254104f91c923180407c5c7e9f8dfae.tar.gz
src-7e3327be3254104f91c923180407c5c7e9f8dfae.zip
Notes
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 84a4a976e6bd..26d257ac8b4d 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -76,6 +76,13 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
+#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE
+#ifndef _VA_LIST_DECLARED
+typedef __va_list va_list;
+#define _VA_LIST_DECLARED
+#endif
+#endif
+
#ifndef __cplusplus
#ifndef _WCHAR_T_DECLARED
typedef ___wchar_t wchar_t;