From e76e86ca4b58db8309e79c4959796937c934052f Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 20 Jun 2024 18:11:58 +0200 Subject: [PATCH] Fix compile error on Windows ARM64 --- src/common/filesystem/source/fs_findfile.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/common/filesystem/source/fs_findfile.cpp b/src/common/filesystem/source/fs_findfile.cpp index 9bc32e75e..5ec10f5e1 100644 --- a/src/common/filesystem/source/fs_findfile.cpp +++ b/src/common/filesystem/source/fs_findfile.cpp @@ -49,6 +49,11 @@ #include +#else + +#include +#include + #endif namespace FileSys { @@ -203,9 +208,6 @@ static size_t FS_GetFileSize(findstate_t* handle, const char* pathname) #else -#include -#include - std::wstring toWide(const char* str) { int len = (int)strlen(str);