Fix compilation on Mac OS

This commit is contained in:
Christophe Dumez
2009-09-30 18:44:58 +00:00
parent 9772fccde3
commit 5a2e92ad79
2 changed files with 8 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
- BUGFIX: Fix a race condition in folder scanning and torrent downloader - BUGFIX: Fix a race condition in folder scanning and torrent downloader
- BUGFIX: Hide download url column in search results - BUGFIX: Hide download url column in search results
- BUGFIX: Fix a crash when scanned directory does not exist - BUGFIX: Fix a crash when scanned directory does not exist
- BUGFIX: Fix compilation on Mac OS
* Sun Sep 20 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.5.2 * Sun Sep 20 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.5.2
- BUGFIX: Some torrents were pausing for no reason - BUGFIX: Some torrents were pausing for no reason

View File

@@ -43,9 +43,14 @@
#include <QThread> #include <QThread>
#ifndef Q_WS_WIN #ifndef Q_WS_WIN
#include <sys/vfs.h> #ifdef Q_WS_MAC
#include <sys/param.h>
#include <sys/mount.h>
#else #else
#include <winbase.h> #include <sys/vfs.h>
#endif
#else
#include <winbase.h>
#endif #endif
#include <libtorrent/torrent_info.hpp> #include <libtorrent/torrent_info.hpp>