forked from premiere/premiere-libtorrent
Build fixes.
This commit is contained in:
parent
d0ad578ee2
commit
e8327c96b1
|
@ -636,13 +636,11 @@ namespace libtorrent
|
|||
char m_country[2];
|
||||
#endif
|
||||
|
||||
#ifdef TORRENT_DEBUG
|
||||
boost::intrusive_ptr<peer_connection> self()
|
||||
{
|
||||
TORRENT_ASSERT(!m_in_constructor);
|
||||
return intrusive_ptr<peer_connection>(this);
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -41,6 +41,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
inline char const* time_now_string()
|
||||
|
|
|
@ -31,6 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
|
||||
#include "libtorrent/bandwidth_limit.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
|
@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include <boost/cstdint.hpp>
|
||||
#include "libtorrent/bandwidth_queue_entry.hpp"
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue