summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/progs/dyecmd/client.cpp2
-rw-r--r--src/utils/gettexthelper.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 27109753d..52540a0ea 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -85,6 +85,8 @@ PRAGMA48(GCC diagnostic pop)
#include <sys/time.h>
#include "fs/specialfolder.h"
#undef ERROR
+#else // WIN32
+#include <time.h>
#endif // WIN32
#ifdef ANDROID
diff --git a/src/utils/gettexthelper.cpp b/src/utils/gettexthelper.cpp
index 9b8f16352..483faf0cf 100644
--- a/src/utils/gettexthelper.cpp
+++ b/src/utils/gettexthelper.cpp
@@ -31,6 +31,7 @@
#include "fs/virtfs/fs.h"
#include <libintl.h>
+#include <locale.h>
#ifdef WIN32
#include <string>