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(); }