aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/imagefilters.cpp1
-rw-r--r--src/filesys.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/client/imagefilters.cpp b/src/client/imagefilters.cpp
index 97ad094e5..b62e336f7 100644
--- a/src/client/imagefilters.cpp
+++ b/src/client/imagefilters.cpp
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <cmath>
#include <cassert>
#include <vector>
+#include <algorithm>
// Simple 2D bitmap class with just the functionality needed here
class Bitmap {
diff --git a/src/filesys.cpp b/src/filesys.cpp
index 44f1c88b3..60090c801 100644
--- a/src/filesys.cpp
+++ b/src/filesys.cpp
@@ -45,6 +45,7 @@ namespace fs
#include <windows.h>
#include <shlwapi.h>
#include <io.h>
+#include <direct.h>
std::vector<DirListNode> GetDirListing(const std::string &pathstring)
{