a0f7d90a6da051794545abcae7bca11e93a2522d
[packages.git] / libs / tcp_wrappers / patches / 003-scaffold_malloc.patch
1 --- tcp_wrappers_7.6/scaffold.c.old     2009-05-25 13:41:07.000000000 +0200
2 +++ tcp_wrappers_7.6/scaffold.c 2009-05-25 13:42:22.000000000 +0200
3 @@ -20,13 +20,12 @@
4  #include <syslog.h>
5  #include <setjmp.h>
6  #include <string.h>
7 +#include <stdlib.h>
8  
9  #ifndef INADDR_NONE
10  #define        INADDR_NONE     (-1)            /* XXX should be 0xffffffff */
11  #endif
12  
13 -extern char *malloc();
14 -
15  /* Application-specific. */
16  
17  #include "tcpd.h"