pkgsrc/mail/metamail/patches/patch-as

22 lines
555 B
Text

$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>