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