1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Fix OS2 build

This commit is contained in:
Christophe Dumez 2012-06-30 17:42:20 +03:00
parent 10a4556479
commit 48f2b6fb66
2 changed files with 3 additions and 5 deletions

View File

@ -58,6 +58,9 @@
#else
#include <shlobj.h>
#include <winbase.h>
#endif
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
#include <QDesktopServices>
#endif

View File

@ -47,7 +47,6 @@
#endif
#ifdef Q_WS_WIN
#include <shlobj.h>
#include <windows.h>
#include <PowrProf.h>
const int UNLEN = 256;
@ -68,10 +67,6 @@ const int UNLEN = 256;
#endif
#endif // DISABLE_GUI
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
#include <QDesktopServices>
#endif
using namespace libtorrent;
static struct { const char *source; const char *comment; } units[] = {