gentoo-full-overlay/net-analyzer/snips/files/snips-1.2-implicit-declarations.patch

130 lines
3.8 KiB
Diff

--- snips-1.2/cmu-snmp/snmp/asn1.c.orig 2008-06-26 17:09:24.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/asn1.c 2008-06-26 17:09:47.000000000 +0100
@@ -36,6 +36,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#ifdef WIN32
#include <memory.h>
--- snips-1.2/cmu-snmp/snmp/snmp_api.c.orig 2008-06-26 17:11:36.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_api.c 2008-06-26 17:11:44.000000000 +0100
@@ -27,6 +27,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
--- snips-1.2/cmu-snmp/snmp/mib.c.orig 2008-06-26 17:12:42.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/mib.c 2008-06-26 17:12:54.000000000 +0100
@@ -24,6 +24,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
--- snips-1.2/cmu-snmp/snmp/snmp_pdu.c.orig 2008-06-26 17:10:12.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_pdu.c 2008-06-26 17:10:22.000000000 +0100
@@ -38,6 +38,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#include <sys/types.h>
--- snips-1.2/cmu-snmp/snmp/snmp_vars.c.orig 2008-06-26 17:10:44.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_vars.c 2008-06-26 17:10:52.000000000 +0100
@@ -36,6 +36,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#include <sys/types.h>
--- snips-1.2/cmu-snmp/snmp/new-parse.c.orig 2008-06-26 17:13:44.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/new-parse.c 2008-06-26 17:13:50.000000000 +0100
@@ -30,6 +30,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#ifdef HAVE_STRINGS_H
--- snips-1.2/cmu-snmp/snmp/snmp_api_util.c.orig 2008-06-26 17:14:38.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_api_util.c 2008-06-26 17:14:46.000000000 +0100
@@ -27,6 +27,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#ifdef WIN32
--- snips-1.2/cmu-snmp/snmp/parse.c.orig 2008-06-26 17:13:18.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/parse.c 2008-06-26 17:13:26.000000000 +0100
@@ -42,6 +42,7 @@
#endif /* HAVE_STDLIB_H */
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include "asn1.h"
--- snips-1.2/cmu-snmp/snmp/mini-client.c.orig 2008-06-26 17:12:21.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/mini-client.c 2008-06-26 17:12:27.000000000 +0100
@@ -37,6 +37,7 @@
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
--- snips-1.2/lib/rrd_funcs.c.orig 2008-06-26 17:08:40.000000000 +0100
+++ snips-1.2/lib/rrd_funcs.c 2008-06-26 17:08:49.000000000 +0100
@@ -38,6 +38,7 @@
#include "osdefs.h"
#include <sys/types.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#ifndef NeXT
# include <unistd.h> /* for access(), lseek() */
--- snips-1.2/cmu-snmp/snmp/snmp_api_error.c.orig 2008-06-26 17:23:56.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_api_error.c 2008-06-26 17:24:06.000000000 +0100
@@ -35,6 +35,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#ifdef HAVE_STRINGS_H
--- snips-1.2/cmu-snmp/snmp/snmp_extra.c.orig 2008-06-26 17:22:57.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/snmp_extra.c 2008-06-26 17:23:05.000000000 +0100
@@ -36,6 +36,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <sys/types.h>
--- snips-1.2/cmu-snmp/snmp/coexistance.c.orig 2008-06-26 17:23:26.000000000 +0100
+++ snips-1.2/cmu-snmp/snmp/coexistance.c 2008-06-26 17:23:33.000000000 +0100
@@ -32,6 +32,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
+#include <string.h>
#ifdef WIN32
#include <winsock2.h>
#else /* WIN32 */