diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-17 00:01:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-17 00:01:19 +0300 |
commit | f2a77f57a2ceb50385283aabafa4d3a3753d84da (patch) | |
tree | 0ecf253c83a58304159840a3b8a0f676ea6aedea | |
parent | 65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00 (diff) | |
download | manaverse-f2a77f57a2ceb50385283aabafa4d3a3753d84da.tar.gz manaverse-f2a77f57a2ceb50385283aabafa4d3a3753d84da.tar.bz2 manaverse-f2a77f57a2ceb50385283aabafa4d3a3753d84da.tar.xz manaverse-f2a77f57a2ceb50385283aabafa4d3a3753d84da.zip |
Fix legacy time include.
-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) |