summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cwchar
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/cwchar')
-rw-r--r--libcxx/include/cwchar3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/cwchar b/libcxx/include/cwchar
index ce71782c86b..0a67fe8bba9 100644
--- a/libcxx/include/cwchar
+++ b/libcxx/include/cwchar
@@ -106,6 +106,9 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len,
#include <__config>
#include <cwctype>
#include <wchar.h>
+#if _WIN32
+#include <support/win32/support.h> // pull in *swprintf defines
+#endif // _WIN32
#pragma GCC system_header
OpenPOWER on IntegriCloud