SDL_image 2.0.3 compilation error

Hi
After this commit http://hg.libsdl.org/SDL_image/rev/6ea5a39bf73a SDL_image doesn’t compile, because miniz.h requires memcpy for working.
What I should to do?

You can either include string.h or cstring, or you can roll your own version of memcpy.

I think there is a problem http://hg.libsdl.org/SDL_image/diff/6ea5a39bf73a/miniz.h.
Author shouldn’t remove lines
// Defines to remove C runtime dependency
#undef memset
#define memset SDL_memset
#undef memcpy
#define memcpy SDL_memcpy

I’ve reverted this changes and it works for me. But I think that it is a bug in a current version of a library.