aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/libtorrent-devel
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-10-07 02:02:09 +0800
committerflz <flz@FreeBSD.org>2006-10-07 02:02:09 +0800
commitbb59fd9e3276ddf5f55bb7e57fbef26ef36d26e8 (patch)
treefaabc72402e6af3513fbda904abab0d17b3b2d4c /net-p2p/libtorrent-devel
parent5ef686abfcde9cceeb5abb94baadfa634d0ec06c (diff)
downloadfreebsd-ports-graphics-bb59fd9e3276ddf5f55bb7e57fbef26ef36d26e8.tar.gz
freebsd-ports-graphics-bb59fd9e3276ddf5f55bb7e57fbef26ef36d26e8.tar.zst
freebsd-ports-graphics-bb59fd9e3276ddf5f55bb7e57fbef26ef36d26e8.zip
Attempt to fix build on 4.x.
Reported by: kris
Diffstat (limited to 'net-p2p/libtorrent-devel')
-rw-r--r--net-p2p/libtorrent-devel/files/devel-src_torrent_chunk__manager.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-devel/files/devel-src_torrent_chunk__manager.cc b/net-p2p/libtorrent-devel/files/devel-src_torrent_chunk__manager.cc
new file mode 100644
index 00000000000..7188247b184
--- /dev/null
+++ b/net-p2p/libtorrent-devel/files/devel-src_torrent_chunk__manager.cc
@@ -0,0 +1,10 @@
+--- src/torrent/chunk_manager.cc.orig Fri Oct 6 18:59:46 2006
++++ src/torrent/chunk_manager.cc Fri Oct 6 19:00:09 2006
+@@ -37,6 +37,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+
+ #include "data/chunk_list.h"