diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-17 19:00:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-17 19:00:09 +0300 |
commit | 7dfca4e04aba1a8c885b355e5fefb937e568435f (patch) | |
tree | d37928a2251c150c8481f571b0f26c92250867b3 /src/resources/wallpaper.cpp | |
parent | b1ca78834ca5f2fcc9d78d9eb9b22abf20392ffa (diff) | |
download | ManaVerse-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/wallpaper.cpp')
-rw-r--r-- | src/resources/wallpaper.cpp | 4 |
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 |