Browse Source

Fix OS2 build

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
48f2b6fb66
  1. 3
      src/fs_utils.cpp
  2. 5
      src/misc.cpp

3
src/fs_utils.cpp

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

5
src/misc.cpp

@ -47,7 +47,6 @@ @@ -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; @@ -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[] = {

Loading…
Cancel
Save