summaryrefslogtreecommitdiffstats
path: root/source/l/netpbm/netpbm-gcc4.patch
blob: 3f518262de64f90a606d5d89454b2c2f7b9505c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -up netpbm-10.58.01/lib/pm.h.gcc4 netpbm-10.58.01/lib/pm.h
--- netpbm-10.58.01/lib/pm.h.gcc4	2012-04-09 19:08:08.885137097 +0200
+++ netpbm-10.58.01/lib/pm.h	2012-04-09 19:08:08.894136984 +0200
@@ -18,6 +18,7 @@
 #include <sys/types.h>
 #include <ctype.h>
 #include <stdio.h>
+#include <string.h>
 #include <errno.h>
 #include <setjmp.h>
 #include <sys/stat.h>
diff -up netpbm-10.58.01/urt/rle.h.gcc4 netpbm-10.58.01/urt/rle.h
--- netpbm-10.58.01/urt/rle.h.gcc4	2012-04-09 19:08:08.000000000 +0200
+++ netpbm-10.58.01/urt/rle.h	2012-04-09 19:08:39.137758887 +0200
@@ -34,6 +34,7 @@
 #define RLE_H
 
 #include <stdio.h>      /* Declare FILE. */
+#include <string.h>
 
 enum rle_dispatch {
     NO_DISPATCH = -1,