summaryrefslogtreecommitdiff
blob: 303e832b37c5301ea5c696b825466263baa2175b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
http://bugs.gentoo.org/465780

Same for all of memcpy(), memset(), strlen() and strcpy():

apngasm.c:141:11: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]

--- apngasm.c
+++ apngasm.c
@@ -29,6 +29,7 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "png.h"     /* original (unpatched) libpng is ok */
 #include "zlib.h"