Add missing header

This commit is contained in:
joerg 2020-05-14 19:14:37 +00:00
parent 98d8d816ef
commit 07cff8f89c
2 changed files with 16 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.5 2020/04/23 10:54:51 adam Exp $
$NetBSD: distinfo,v 1.6 2020/05/14 19:14:37 joerg Exp $
SHA1 (libtorrent-rasterbar-1.2.6.tar.gz) = 3415ef9a87060ceada1013090f24183219cca636
RMD160 (libtorrent-rasterbar-1.2.6.tar.gz) = a50c1ebf97d8f5341f31d310dc6ffe5f907e6abe
SHA512 (libtorrent-rasterbar-1.2.6.tar.gz) = 78f9120b1b824dac37ec8bd16a29abdfcd7fd6af3c56e0cc9048d74412d000ef5ea1e8421f757eddb914f8bb20de9fb4192d5b8a3f781fa2e1d4f134ea24b1ee
Size (libtorrent-rasterbar-1.2.6.tar.gz) = 4144922 bytes
SHA1 (patch-include_libtorrent_buffer.hpp) = 365f04a6a4b63f86288119201bfec0b9d9e67bee
SHA1 (patch-include_libtorrent_config.hpp) = 20d887a755935cdc23bdc80fcfbc8f07a89ec1e1

View file

@ -0,0 +1,14 @@
$NetBSD: patch-include_libtorrent_config.hpp,v 1.1 2020/05/14 19:14:38 joerg Exp $
Uses std::size_t.
--- include/libtorrent/config.hpp.orig 2020-05-13 19:10:58.243827028 +0000
+++ include/libtorrent/config.hpp
@@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
#define _FILE_OFFSET_BITS 64
+#include <cstddef>
#include <boost/config.hpp>
#include <boost/version.hpp>