summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'security/tcp_wrappers/patches/patch-af')
-rw-r--r--security/tcp_wrappers/patches/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/tcp_wrappers/patches/patch-af b/security/tcp_wrappers/patches/patch-af
new file mode 100644
index 00000000000..4413c3f44b2
--- /dev/null
+++ b/security/tcp_wrappers/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2005/02/17 23:10:45 peter Exp $
+
+--- scaffold.c.orig 1999-10-27 15:27:22.000000000 +0200
++++ scaffold.c 2005-02-17 23:56:49.000000000 +0100
+@@ -20,13 +20,12 @@
+ #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"