diff --git a/include/libtorrent/export.hpp b/include/libtorrent/export.hpp index a9c388b60..cef3bbef3 100644 --- a/include/libtorrent/export.hpp +++ b/include/libtorrent/export.hpp @@ -33,7 +33,19 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_EXPORT_HPP_INCLUDED #define TORRENT_EXPORT_HPP_INCLUDED -#include +#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) +# include +#endif +#ifdef BOOST_COMPILER_CONFIG +# include BOOST_COMPILER_CONFIG +#endif + +#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) +# include +#endif +#ifdef BOOST_PLATFORM_CONFIG +# include BOOST_PLATFORM_CONFIG +#endif // backwards compatibility with older versions of boost #if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT