summaryrefslogtreecommitdiffstats
path: root/src/common/fs
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-03-19 06:50:03 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-03-20 07:25:09 +0100
commit866b7c20a8958069a048ffa600155ec3cbd2e5f2 (patch)
tree54191364052f7adc86f4f94afcb45b68186edda2 /src/common/fs
parentyuzu_cmd: Reduce unused includes (diff)
downloadyuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.gz
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.bz2
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.lz
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.xz
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.zst
yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.zip
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/file.cpp1
-rw-r--r--src/common/fs/fs_util.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/fs/file.cpp b/src/common/fs/file.cpp
index b89e785c2..5d71275ef 100644
--- a/src/common/fs/file.cpp
+++ b/src/common/fs/file.cpp
@@ -8,6 +8,7 @@
#ifdef _WIN32
#include <io.h>
+#include <share.h>
#else
#include <unistd.h>
#endif
diff --git a/src/common/fs/fs_util.cpp b/src/common/fs/fs_util.cpp
index 1f47c2310..0068112e6 100644
--- a/src/common/fs/fs_util.cpp
+++ b/src/common/fs/fs_util.cpp
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <algorithm>
+
#include "common/fs/fs_util.h"
namespace Common::FS {