pkgsrc/mail/ja-mh/patches/patch-bb
taca f7ee73e0ba * Fix build problem on NetBSD current, terminfo case.
* Add comments to each patch file.
2010-09-27 12:01:49 +00:00

17 lines
451 B
Text

$NetBSD: patch-bb,v 1.2 2010/09/27 12:01:49 taca Exp $
* Don't declare errno but include <errno.h>.
--- uip/vmhsbr.c.orig 2006-04-11 14:43:36.000000000 +0000
+++ uip/vmhsbr.c
@@ -24,10 +24,7 @@ static FILE *fp = NULL;
static int PEERrfd = NOTOK;
static int PEERwfd = NOTOK;
-#ifdef __CYGWIN32__
#include <errno.h>
-#endif
-extern int errno;
#if !defined(BSD44) && !defined(__GNU_LIBRARY__)
extern int sys_nerr;
extern char *sys_errlist[];