diff options
-rw-r--r-- | src/progs/dyecmd/client.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 52540a0ea..9c43b18bf 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -85,10 +85,12 @@ PRAGMA48(GCC diagnostic pop) #include <sys/time.h> #include "fs/specialfolder.h" #undef ERROR -#else // WIN32 -#include <time.h> #endif // WIN32 +#ifdef __clang__ +#include <ctime> +#endif // __clang__ + #ifdef ANDROID #ifndef USE_SDL2 PRAGMA48(GCC diagnostic push) |