Build fixes.

This commit is contained in:
Georg Rudoy 2009-09-17 11:22:18 +00:00
parent d0ad578ee2
commit e8327c96b1
4 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -41,6 +41,9 @@ POSSIBILITY OF SUCH DAMAGE.
#include <unistd.h>
#endif
#include <algorithm>
#include <limits>
namespace libtorrent
{
inline char const* time_now_string()

View File

@ -31,6 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/
#include "libtorrent/bandwidth_limit.hpp"
#include <algorithm>
namespace libtorrent
{

View File

@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/cstdint.hpp>
#include "libtorrent/bandwidth_queue_entry.hpp"
#include <cstring>
#include <algorithm>
namespace libtorrent
{