--- a/src/rwpng.c +++ b/src/rwpng.c @@ -31,6 +31,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <zlib.h> #include "png.h" /* libpng header */