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 @@
#else #else
#include <shlobj.h> #include <shlobj.h>
#include <winbase.h> #include <winbase.h>
#endif
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
#include <QDesktopServices> #include <QDesktopServices>
#endif #endif

5
src/misc.cpp

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

Loading…
Cancel
Save