memory.h for memcpy() and memset() instead of string.h

I'm tried to build Box2D v.2.3.0 using the Android NDK. I had some problem, with memcpy() and memset(), that were resolved by replacing:

#include <memory.h>

with:

#include <string.h>

In these files:

Box2D/Collision/Shapes/b2ChainShape.cpp
Box2D/Collision/b2DynamicTree.cpp
Box2D/Common/b2BlockAllocator.cpp

Isn't it "more correct" to use string.h for these functions?

Thanks.
Just wondering, which version of the NDK is this and what platform are you building on? I have not noticed any issues with v2.3.0 building on Linux and Mac.
Hello.

I just wanted to report the same issue, but then I saw this topic. I put stdlib.h and it works fine. I personally use r9c, but I don't think that this has changed much over the last months or years.

Original thread: https://box2d.org/forum/viewtopic.php?t=9591