mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
- Fix compilation on Mac OS
This commit is contained in:
parent
0485864d38
commit
3dd9ebc61d
1 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue