mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-02-17 19:20:43 +08:00
- Fix compilation on Mac OS
This commit is contained in:
parent
0485864d38
commit
3dd9ebc61d
@ -43,9 +43,14 @@
|
||||
#include <QThread>
|
||||
|
||||
#ifndef Q_WS_WIN
|
||||
#include <sys/vfs.h>
|
||||
#ifdef Q_WS_MAC
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#else
|
||||
#include <winbase.h>
|
||||
#include <sys/vfs.h>
|
||||
#endif
|
||||
#else
|
||||
#include <winbase.h>
|
||||
#endif
|
||||
|
||||
#include <libtorrent/torrent_info.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user