diff --git a/src/platform/timer_osx.cpp b/src/platform/timer_osx.cpp index 9d83367f3..bf867f890 100644 --- a/src/platform/timer_osx.cpp +++ b/src/platform/timer_osx.cpp @@ -19,7 +19,6 @@ #if defined(__APPLE__) && defined(__MACH__) #include "src/platform/timer.h" -#include #include #include @@ -27,7 +26,7 @@ uint32_t Platform::getIdleTime() { // https://hg.pidgin.im/pidgin/main/file/13e4ae613a6a/pidgin/gtkidle.c - static io_service_t service = NULL; + static io_service_t service = 0; CFTypeRef property; uint64_t idleTime_ns = 0; diff --git a/src/platform/timer_win.cpp b/src/platform/timer_win.cpp index 053aba5d3..5f28e7ebb 100644 --- a/src/platform/timer_win.cpp +++ b/src/platform/timer_win.cpp @@ -12,7 +12,6 @@ See the COPYING file for more details. */ -#include #ifdef Q_OS_WIN32 #include "src/platform/timer.h" #include diff --git a/src/platform/timer_x11.cpp b/src/platform/timer_x11.cpp index 1ab9effb7..470284248 100644 --- a/src/platform/timer_x11.cpp +++ b/src/platform/timer_x11.cpp @@ -12,7 +12,6 @@ See the COPYING file for more details. */ -#include #if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__) #include "src/platform/timer.h" #include