packages/libs/tcp_wrappers/patches/003-scaffold_malloc.patch
acinonyx 34a1aa5229 [packages] tcp_wrappers: Refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:20 +00:00

18 lines
346 B
Diff

--- 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"