SHA256
3
0
forked from pool/tcpd
tcpd/tcp_wrappers_7.6-builtin.diff

20 lines
355 B
Diff

--- scaffold.c
+++ scaffold.c
@@ -20,6 +20,8 @@
#include <syslog.h>
#include <setjmp.h>
#include <string.h>
+#include <stdlib.h>
+
#if defined(INET6) && !defined(USE_GETIPNODEBY)
#include <resolv.h>
#endif
@@ -28,7 +30,6 @@
#define INADDR_NONE (-1) /* XXX should be 0xffffffff */
#endif
-extern char *malloc();
/* Application-specific. */