summaryrefslogtreecommitdiff
path: root/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch
blob: f8f4030f0b6a37a6bdf1ec217dc2f7ad0a4eb474 (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
https://bugs.gentoo.org/855212
https://bugs.gentoo.org/855455
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -38,9 +38,7 @@
 #include <sys/time.h>
 #endif  // WIN32
 
-#ifdef __clang__
 #include <ctime>
-#endif  // __clang__
 
 #include "debug.h"
 
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -87,9 +87,7 @@ PRAGMA48(GCC diagnostic pop)
 #undef ERROR
 #endif  // WIN32
 
-#ifdef __clang__
 #include <ctime>
-#endif  // __clang__
 
 #ifdef ANDROID
 #ifndef USE_SDL2