From 261648d60a73935ad2e04ad4d00c84868abc7e6f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 2 Nov 2011 09:31:32 +0000 Subject: [PATCH] fix test_buffer build when linking dynamically --- include/libtorrent/chained_buffer.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/chained_buffer.hpp b/include/libtorrent/chained_buffer.hpp index 46e34e01f..c1698ee3b 100644 --- a/include/libtorrent/chained_buffer.hpp +++ b/include/libtorrent/chained_buffer.hpp @@ -33,6 +33,8 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_CHAINED_BUFFER_HPP_INCLUDED #define TORRENT_CHAINED_BUFFER_HPP_INCLUDED +#include "libtorrent/config.hpp" + #include #include #if BOOST_VERSION < 103500 @@ -48,7 +50,7 @@ namespace libtorrent #if BOOST_VERSION >= 103500 namespace asio = boost::asio; #endif - struct chained_buffer + struct TORRENT_EXPORT chained_buffer { chained_buffer(): m_bytes(0), m_capacity(0) {