summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp2
-rw-r--r--src/game.cpp2
-rw-r--r--src/main.cpp4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 1f608fa6..cf1a6496 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -86,9 +86,9 @@
#include <SDL_syswm.h>
#else
#include <cerrno>
-#include <sys/stat.h>
#endif
+#include <sys/stat.h>
#include <cassert>
/**
diff --git a/src/game.cpp b/src/game.cpp
index 56978dca..40450fee 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -88,8 +88,6 @@
#include <physfs.h>
-#include <sys/stat.h>
-
#include <fstream>
#include <sstream>
#include <string>
diff --git a/src/main.cpp b/src/main.cpp
index 5ed1c4ec..205ba6eb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -31,6 +31,10 @@
#include <iostream>
#include <physfs.h>
+#ifdef WIN32
+#include <windows.h>
+#endif
+
static void printHelp()
{
using std::endl;