[packages] tcp_wrappers: Refresh patches
[openwrt.org/packages.git] / libs / tcp_wrappers / patches / 003-scaffold_malloc.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/scaffold.c
+++ b/scaffold.c
@@ -20,13 +20,12 @@ static char sccs_id[] = "@(#) scaffold.c
 #include <syslog.h>
 #include <setjmp.h>
 #include <string.h>
+#include <stdlib.h>
 
 #ifndef INADDR_NONE
 #define        INADDR_NONE     (-1)            /* XXX should be 0xffffffff */
 #endif
 
-extern char *malloc();
-
 /* Application-specific. */
 
 #include "tcpd.h"
 
comments