abstract generic_category() to build on boost-1.42 and older. fix some include issues in tests

This commit is contained in:
Arvid Norberg
2013-09-09 07:06:12 +00:00
parent 42ae69979f
commit a780b8469d
6 changed files with 24 additions and 25 deletions

View File

@@ -43,6 +43,10 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM
#include <iostream>
#endif
using namespace libtorrent;
struct dht_server