From 070e41e65626bd78d8a28037041253596f23a3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 1 Dec 2016 10:12:52 +0100 Subject: [PATCH] Fix Windows builds due to missing header --- src/core/FileScanner.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/FileScanner.cpp b/src/core/FileScanner.cpp index eb45257c25..1f6b6d8ecb 100644 --- a/src/core/FileScanner.cpp +++ b/src/core/FileScanner.cpp @@ -26,6 +26,11 @@ #include #include #include +#elif defined(__WINDOWS__) + extern "C" { + // Windows needs this for widechar <-> utf8 conversion utils + #include "../localisation/language.h" + } #endif #include