fix linux build

This commit is contained in:
Arvid Norberg 2010-03-12 03:17:25 +00:00
parent 06a043a489
commit 116c3f3c45
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sys/sysctl.h>
#endif
#if TORRENT_USE_RLIMIT
#include <sys/resource.h>
#endif
namespace libtorrent
{
bool should_cancel_on_abort(disk_io_job const& j);