summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
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/wallpaper.cpp
parentb1ca78834ca5f2fcc9d78d9eb9b22abf20392ffa (diff)
downloadplus-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.gz
plus-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.bz2
plus-7dfca4e04aba1a8c885b355e5fefb937e568435f.tar.xz
plus-7dfca4e04aba1a8c885b355e5fefb937e568435f.zip
Add some includes guards. Fix compilation for windows.
Diffstat (limited to 'src/resources/wallpaper.cpp')
-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