From 93cd697d8f6116fc19f673d06412b9e3cb8f709d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 17 Sep 2013 08:46:50 +0000 Subject: [PATCH] fix link error of test_dht --- include/libtorrent/random.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/random.hpp b/include/libtorrent/random.hpp index 694eda44f..bdcc89147 100644 --- a/include/libtorrent/random.hpp +++ b/include/libtorrent/random.hpp @@ -30,10 +30,11 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include "libtorrent/config.hpp" #include namespace libtorrent { void random_seed(boost::uint32_t v); - boost::uint32_t random(); + boost::uint32_t TORRENT_EXTRA_EXPORT random(); }