diff --git a/include/libtorrent/create_torrent.hpp b/include/libtorrent/create_torrent.hpp index a52373ccb..db4a35ba1 100644 --- a/include/libtorrent/create_torrent.hpp +++ b/include/libtorrent/create_torrent.hpp @@ -151,8 +151,8 @@ namespace libtorrent inline void nop(int i) {} - int get_file_attributes(boost::filesystem::path const& p); - int get_file_attributes(boost::filesystem::wpath const& p); + int TORRENT_EXPORT get_file_attributes(boost::filesystem::path const& p); + int TORRENT_EXPORT get_file_attributes(boost::filesystem::wpath const& p); template void add_files_impl(file_storage& fs, boost::filesystem::basic_path const& p