diff --git a/include/libtorrent/chained_buffer.hpp b/include/libtorrent/chained_buffer.hpp index aa46b2d36..0518c0307 100644 --- a/include/libtorrent/chained_buffer.hpp +++ b/include/libtorrent/chained_buffer.hpp @@ -41,7 +41,7 @@ POSSIBILITY OF SUCH DAMAGE. #include #endif #include -#include +#include // for memcpy namespace libtorrent { @@ -127,7 +127,7 @@ namespace libtorrent { char* insert = allocate_appendix(s); if (insert == 0) return false; - std::memcpy(insert, buf, s); + memcpy(insert, buf, s); return true; }