diff --git a/include/libtorrent/alert.hpp b/include/libtorrent/alert.hpp index 322efebbd..0d1f6a136 100644 --- a/include/libtorrent/alert.hpp +++ b/include/libtorrent/alert.hpp @@ -54,6 +54,10 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/ptime.hpp" #include "libtorrent/config.hpp" +#ifndef BOOST_NO_TYPEID +#include +#endif + #ifndef TORRENT_MAX_ALERT_TYPES #define TORRENT_MAX_ALERT_TYPES 15 #endif