summarylogtreecommitdiffstats
path: root/0001-fix-missing-ctime.patch
blob: a0c6635b8f57f38fb6b51b7a75751c3a49c8b0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -aur a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -88,9 +88,7 @@
 #undef ERROR
 #endif  // WIN32
 
-#ifdef __clang__
 #include <ctime>
-#endif  // __clang__
 
 #ifdef ANDROID
 #ifndef USE_SDL2
diff -aur a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -39,9 +39,7 @@
 #include <sys/time.h>
 #endif  // WIN32
 
-#ifdef __clang__
 #include <ctime>
-#endif  // __clang__
 
 #include "debug.h"