diff --git a/include/libtorrent/hasher.hpp b/include/libtorrent/hasher.hpp index 08a502968..34bdb1f6e 100644 --- a/include/libtorrent/hasher.hpp +++ b/include/libtorrent/hasher.hpp @@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #include +#include "libtorrent/aux_/disable_warnings_push.hpp" #ifdef TORRENT_USE_LIBGCRYPT #include @@ -58,6 +59,7 @@ extern "C" { #else #include "libtorrent/sha1.hpp" #endif +#include "libtorrent/aux_/disable_warnings_pop.hpp" namespace libtorrent { diff --git a/include/libtorrent/hasher512.hpp b/include/libtorrent/hasher512.hpp index 62fb9fda8..16f64c489 100644 --- a/include/libtorrent/hasher512.hpp +++ b/include/libtorrent/hasher512.hpp @@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #include +#include "libtorrent/aux_/disable_warnings_push.hpp" #ifdef TORRENT_USE_LIBGCRYPT #include @@ -58,6 +59,7 @@ extern "C" { #else #include "libtorrent/sha512.hpp" #endif +#include "libtorrent/aux_/disable_warnings_pop.hpp" namespace libtorrent {