diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 12d4091e7..090c48c8c 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -60,6 +60,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/aux_/disable_warnings_pop.hpp" #include +#include // for va_list #if TORRENT_ABI_VERSION == 1 #define PROGRESS_NOTIFICATION | alert::progress_notification diff --git a/include/libtorrent/stack_allocator.hpp b/include/libtorrent/stack_allocator.hpp index 9e83ac52e..8fa7a9870 100644 --- a/include/libtorrent/stack_allocator.hpp +++ b/include/libtorrent/stack_allocator.hpp @@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/aux_/vector.hpp" #include "libtorrent/aux_/numeric_cast.hpp" +#include // for va_list #include // for vsnprintf #include