SDL_image 2.0.3 compilation error

After this commit 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
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.