Fix #188 libtorrent build with gcc 4.3

This commit is contained in:
Andrew Resch 2008-04-28 08:12:30 +00:00
parent 140326443c
commit ef9541366f
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <cxxabi.h> #include <cxxabi.h>
#include <string> #include <string>
#include <ctring>
#include <stdlib.h> #include <stdlib.h>
std::string demangle(char const* name) std::string demangle(char const* name)

View File

@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/lazy_entry.hpp" #include "libtorrent/lazy_entry.hpp"
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <cstring>
namespace libtorrent namespace libtorrent
{ {