diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-23 10:59:01 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-23 11:54:30 +0100 |
commit | 04fff85c760e36b473556e5e1643f38ea8c6009b (patch) | |
tree | 293370ce881c846e11af52207a24fe9a3d764701 /src | |
parent | 00cbc7490641a697dbedb85b3b2ff3f75893b7ff (diff) | |
download | mana-client-04fff85c760e36b473556e5e1643f38ea8c6009b.tar.gz mana-client-04fff85c760e36b473556e5e1643f38ea8c6009b.tar.bz2 mana-client-04fff85c760e36b473556e5e1643f38ea8c6009b.tar.xz mana-client-04fff85c760e36b473556e5e1643f38ea8c6009b.zip |
Fixed compile on Windows
Reviewed-by: Bernd Wachter
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 2 | ||||
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/main.cpp | 4 |
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; |