From e6049e6c103cb93a42bb6d2e22e97df02c3179b8 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 30 Apr 2015 22:38:24 +0000 Subject: [PATCH] fix build when int64 atomics are not lock-free --- include/libtorrent/performance_counters.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/performance_counters.hpp b/include/libtorrent/performance_counters.hpp index 31968cdbe..a2ded9397 100644 --- a/include/libtorrent/performance_counters.hpp +++ b/include/libtorrent/performance_counters.hpp @@ -33,6 +33,9 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_PERFORMANCE_COUNTERS_HPP_INCLUDED #define TORRENT_PERFORMANCE_COUNTERS_HPP_INCLUDED +#include "libtorrent/config.hpp" +#include "libtorrent/thread.hpp" + #include "libtorrent/aux_/disable_warnings_push.hpp" #include @@ -40,8 +43,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/aux_/disable_warnings_pop.hpp" -#include "libtorrent/config.hpp" - namespace libtorrent { struct TORRENT_EXTRA_EXPORT counters