mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 02:21:19 +00:00
tcp_wrappers: import from packages
This commit is contained in:
17
libs/tcp_wrappers/patches/003-scaffold_malloc.patch
Normal file
17
libs/tcp_wrappers/patches/003-scaffold_malloc.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- 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"
|
||||
Reference in New Issue
Block a user