File fix-include-time_h.patch of Package manaplus
diff -Nur manaplus-2.1.3.17/src/progs/dyecmd/client.cpp new/src/progs/dyecmd/client.cpp
--- manaplus-2.1.3.17/src/progs/dyecmd/client.cpp 2021-01-27 21:14:00.000000000 +0100
+++ new/src/progs/dyecmd/client.cpp 2022-09-06 12:04:39.145295344 +0200
@@ -86,11 +86,9 @@
#include <sys/time.h>
#include "fs/specialfolder.h"
#undef ERROR
-#endif // WIN32
-
-#ifdef __clang__
+#else
#include <ctime>
-#endif // __clang__
+#endif
#ifdef ANDROID
#ifndef USE_SDL2
diff -Nur manaplus-2.1.3.17/src/resources/wallpaper.cpp new/src/resources/wallpaper.cpp
--- manaplus-2.1.3.17/src/resources/wallpaper.cpp 2021-01-27 21:14:00.000000000 +0100
+++ new/src/resources/wallpaper.cpp 2022-09-06 11:54:29.353030590 +0200
@@ -37,11 +37,9 @@
#ifdef WIN32
#include <sys/time.h>
-#endif // WIN32
-
-#ifdef __clang__
+#else
#include <ctime>
-#endif // __clang__
+#endif
#include "debug.h"