summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-17 19:00:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-17 19:00:09 +0300
commit7dfca4e04aba1a8c885b355e5fefb937e568435f (patch)
treed37928a2251c150c8481f571b0f26c92250867b3 /src/resources
parentb1ca78834ca5f2fcc9d78d9eb9b22abf20392ffa (diff)
downloadManaVerse-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.gz
ManaVerse-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.bz2
ManaVerse-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.xz
ManaVerse-7dfca4e04aba1a8c885b355e5fefb937e568435f.zip
Add some includes guards. Fix compilation for windows.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/wallpaper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index 5d4a854e3..944574468 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -30,6 +30,10 @@
#include <algorithm>
+#ifdef WIN32
+#include <sys/time.h>
+#endif
+
#ifdef __clang__
#include <time.h>
#endif