--- libgxps-0.2.2/tools/gxps-png-writer.c.orig	2014-08-11 00:03:27.932600000 +0400
+++ libgxps-0.2.2/tools/gxps-png-writer.c	2014-08-11 00:04:11.643800000 +0400
@@ -21,6 +21,7 @@
 
 #include "gxps-png-writer.h"
 #include <png.h>
+#include <string.h>
 #include <stdint.h>
 
 /* starting with libpng15, png.h no longer #includes zlib.h */
