diff --git a/include/libtorrent/upnp.hpp b/include/libtorrent/upnp.hpp index d9e8d9ee8..b5186b5e4 100644 --- a/include/libtorrent/upnp.hpp +++ b/include/libtorrent/upnp.hpp @@ -93,7 +93,7 @@ namespace libtorrent }; } - boost::system::error_category& get_upnp_category(); + TORRENT_EXPORT boost::system::error_category& get_upnp_category(); // int: port-mapping index // address: external address as queried from router