fix test_buffer build when linking dynamically

This commit is contained in:
Arvid Norberg 2011-11-02 09:31:32 +00:00
parent 0d3eb71ba1
commit 261648d60a
1 changed files with 3 additions and 1 deletions

View File

@ -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 <boost/function/function1.hpp>
#include <boost/version.hpp>
#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)
{