--- SDL_image-1.2.12.old/IMG_png.c +++ SDL_image-1.2.12/IMG_png.c @@ -323,6 +323,8 @@ return(is_PNG); } +#define png_read_data sdl_png_read_data + /* Load a PNG type image from an SDL datasource */ static void png_read_data(png_structp ctx, png_bytep area, png_size_t size) {