forked from premiere/premiere-libtorrent
header dependency fixes
This commit is contained in:
parent
e750910798
commit
9fd7a58370
|
@ -47,7 +47,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <boost/system/error_code.hpp>
|
||||
#endif
|
||||
|
||||
#include "libtorrent/config.hpp"
|
||||
#include <string.h>
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include "libtorrent/config.hpp"
|
||||
#include "libtorrent/assert.hpp"
|
||||
#include "libtorrent/size_type.hpp"
|
||||
|
@ -60,7 +61,7 @@ namespace libtorrent
|
|||
char const* ptr;
|
||||
bool operator<(pascal_string const& rhs) const
|
||||
{
|
||||
return memcmp(ptr, rhs.ptr, (std::min)(len, rhs.len)) < 0
|
||||
return std::memcmp(ptr, rhs.ptr, (std::min)(len, rhs.len)) < 0
|
||||
|| len < rhs.len;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
#include <boost/version.hpp>
|
||||
#include "libtorrent/config.hpp"
|
||||
#include "libtorrent/time.hpp"
|
||||
|
|
Loading…
Reference in New Issue