File libucil-libpng16.patch of Package libucil

Index: libucil-0.9.10/src/ucil_png.c
===================================================================
--- libucil-0.9.10.orig/src/ucil_png.c
+++ libucil-0.9.10/src/ucil_png.c
@@ -10,6 +10,7 @@
 #include "config.h"
 
 #include <stdlib.h>
+#include <string.h>
 #include <png.h>
 #include <unicap.h>
 #include <glib.h>
Index: libucil-0.9.10/src/ucil_ppm.c
===================================================================
--- libucil-0.9.10.orig/src/ucil_ppm.c
+++ libucil-0.9.10/src/ucil_ppm.c
@@ -3,6 +3,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
openSUSE Build Service is sponsored by