diff --git a/Src/base/Logging.cpp b/Src/base/Logging.cpp
index b529da3..d8ec623 100644
--- a/Src/base/Logging.cpp
+++ b/Src/base/Logging.cpp
@@ -35,6 +35,8 @@
 #include "MutexLocker.h"
 #include "Settings.h"
 
+typedef time_t __time_t;
+
 static GStaticMutex s_mutex       = G_STATIC_MUTEX_INIT;
 static bool         s_initialized = false;
 static GHashTable*  s_channelHash = 0;
