File libharu-2.2.1-png16.patch of Package libharu
Index: libharu-2.2.1/src/hpdf_image_png.c =================================================================== --- libharu-2.2.1.orig/src/hpdf_image_png.c +++ libharu-2.2.1/src/hpdf_image_png.c @@ -21,6 +21,7 @@ #ifndef LIBHPDF_HAVE_NOPNGLIB #include <png.h> +#include <string.h> static void PngErrorFunc (png_structp png_ptr,