diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp index 3cf3798c1..c453ab35d 100644 --- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -36,6 +36,8 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include // for snprintf +#include // for _TRUNCATE (windows) +#include #ifndef WIN32 #define __STDC_FORMAT_MACROS