pkgsrc/mail/mailagent/patches/patch-ab
2011-03-06 03:47:26 +00:00

20 lines
518 B
Text

$NetBSD: patch-ab,v 1.1 2011/03/06 03:47:27 dholland Exp $
--- agent/filter/environ.c~ 2001-03-17 18:31:20.000000000 +0000
+++ agent/filter/environ.c
@@ -38,6 +38,7 @@
#include "portable.h"
#include "hash.h"
#include <stdio.h>
+#include <stdlib.h>
#ifdef I_STRING
#include <string.h>
@@ -56,7 +57,6 @@
*/
private struct htable henv; /* The associative array for env */
-extern char *malloc(); /* Memory allocation */
extern char *strsave(); /* String saving */
public void print_env(fd, envp)