From 846a4a0a6502f8b59ea5c75902672de9cd4e48e7 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 13 Feb 2015 22:15:28 +0000 Subject: [PATCH] cctype: tweak inclusions for _LIBCPP_MSVCRT case cctype uses ctype functions such as isblank. However, when building against msvcrt, this is provided by the support header. Include the support header if building for Windows to ensure that the definition is properly visible. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229161 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/cctype | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cctype b/include/cctype index b647903c..26c740f7 100644 --- a/include/cctype +++ b/include/cctype @@ -39,6 +39,7 @@ int toupper(int c); #include #if defined(_LIBCPP_MSVCRT) #include "support/win32/support.h" +#include "support/win32/locale_win32.h" #endif // _LIBCPP_MSVCRT #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)