summaryrefslogtreecommitdiff
path: root/mail/metamail/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/metamail/patches')
-rw-r--r--mail/metamail/patches/patch-as22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/metamail/patches/patch-as b/mail/metamail/patches/patch-as
new file mode 100644
index 00000000000..9d1b68f8cf7
--- /dev/null
+++ b/mail/metamail/patches/patch-as
@@ -0,0 +1,22 @@
+$NetBSD: patch-as,v 1.1 2006/01/22 01:57:44 joerg Exp $
+
+--- metamail/putenv.c.orig 2006-01-22 01:55:38.000000000 +0000
++++ metamail/putenv.c
+@@ -19,17 +19,9 @@ Cambridge, MA 02139, USA. */
+ #include <config.h>
+ #include <sys/types.h>
+ #include <errno.h>
+-#ifdef STDC_HEADERS
+ #include <stdlib.h>
+-#else
+-extern int errno;
+-#endif
+
+-#if defined(STDC_HEADERS) || defined(USG) || defined(SYSV)
+ #include <string.h>
+-#else /* not (STDC_HEADERS or USG) */
+-#include <strings.h>
+-#endif /* STDC_HEADERS or USG */
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>