From 99627b34ca6ba0fcbf302509e5a17346407f8bfb Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Mon, 23 Jan 2017 12:46:49 +0000 Subject: [PATCH 1/8] Windows: Add missing stringapiset.h include This is needed for WideCharToMultiByte() --- Source/cmFileCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 91cecb359f..987e0dbb6f 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -72,6 +72,7 @@ static mode_t mode_setgid = S_ISGID; #endif #if defined(_WIN32) +#include // libcurl doesn't support file:// urls for unicode filenames on Windows. // Convert string from UTF-8 to ACP if this is a file:// URL. static std::string fix_file_url_windows(const std::string& url) -- 2.11.0