From 1734beda07665e4566ccfc184de0611e7803ebbe Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 28 Mar 2014 01:55:09 +0000 Subject: [PATCH] add missing includes for debug logging builds --- src/peer_connection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index a5a3bd3b7..09ccbe6b7 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -36,7 +36,11 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include + +#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING #include // for va_start, va_end +#include // for vsnprintf +#endif #include "libtorrent/peer_connection.hpp" #include "libtorrent/identify_client.hpp"