diff --git a/src/main.cpp b/src/main.cpp index c08151244..d4955d1d2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -104,6 +104,10 @@ using boost::scoped_ptr; # include "devices/wmdmthread.h" #endif +#ifndef Q_OS_WIN32 +#include +#endif + // Load sqlite plugin on windows and mac. #ifdef HAVE_STATIC_SQLITE # include diff --git a/src/networkremote/remoteclient.cpp b/src/networkremote/remoteclient.cpp index acedc2fc8..4f1621ef9 100644 --- a/src/networkremote/remoteclient.cpp +++ b/src/networkremote/remoteclient.cpp @@ -23,8 +23,6 @@ #include #include -#include - RemoteClient::RemoteClient(Application* app, QTcpSocket* client) : app_(app), client_(client)