diff --git a/include/libtorrent/fwd.hpp b/include/libtorrent/fwd.hpp index c99129f6b..df53d28bd 100644 --- a/include/libtorrent/fwd.hpp +++ b/include/libtorrent/fwd.hpp @@ -33,8 +33,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_FWD_HPP #define TORRENT_FWD_HPP -#include "libtorrent/export.hpp" - namespace libtorrent { // include/libtorrent/add_torrent_params.hpp @@ -272,4 +270,6 @@ struct lazy_entry; } +namespace lt = libtorrent; + #endif // TORRENT_FWD_HPP diff --git a/tools/gen_fwd.py b/tools/gen_fwd.py index aeb0137f6..671ad8c53 100644 --- a/tools/gen_fwd.py +++ b/tools/gen_fwd.py @@ -38,8 +38,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_FWD_HPP #define TORRENT_FWD_HPP -#include "libtorrent/export.hpp" - namespace libtorrent { ''' @@ -47,6 +45,8 @@ file_footer = ''' } +namespace lt = libtorrent; + #endif // TORRENT_FWD_HPP '''