fixed build (with fresh boost)

This commit is contained in:
Arvid Norberg 2010-10-09 02:58:56 +00:00
parent 8212d2f161
commit 45f535e80c
3 changed files with 3 additions and 1 deletions

View File

@ -307,7 +307,7 @@ namespace libtorrent
// clears the given piece's download flag // clears the given piece's download flag
// this means that this piece-block can be picked again // this means that this piece-block can be picked again
void abort_download(piece_block block, void* peer); void abort_download(piece_block block, void* peer = 0);
bool is_piece_finished(int index) const; bool is_piece_finished(int index) const;

View File

@ -43,6 +43,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/function.hpp> #include <boost/function.hpp>
#include <boost/bind.hpp> #include <boost/bind.hpp>
#include <iostream> #include <iostream>
#include <math.h>
struct torrent; struct torrent;
struct peer_connection; struct peer_connection;

View File

@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include <set> #include <set>
#include <map>
#include <iostream> #include <iostream>
#include "test.hpp" #include "test.hpp"