003-scaffold_malloc.patch 346 B

1234567891011121314151617
  1. --- a/scaffold.c
  2. +++ b/scaffold.c
  3. @@ -20,13 +20,12 @@ static char sccs_id[] = "@(#) scaffold.c
  4. #include <syslog.h>
  5. #include <setjmp.h>
  6. #include <string.h>
  7. +#include <stdlib.h>
  8. #ifndef INADDR_NONE
  9. #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
  10. #endif
  11. -extern char *malloc();
  12. -
  13. /* Application-specific. */
  14. #include "tcpd.h"