Files
pkgsrc-ng/mail/ja-mh/patches/patch-aj
2013-09-26 17:14:40 +02:00

18 lines
505 B
Plaintext

$NetBSD: patch-aj,v 1.4 2010/09/27 12:01:49 taca Exp $
* Don't declare errno but include <errno.h>.
--- sbr/advertise.c.orig 2006-04-11 13:42:29.000000000 +0000
+++ sbr/advertise.c
@@ -15,10 +15,7 @@ static char ident[] = "@(#)$Id: advertis
output... More importantly though, it's a sexy syscall()...
*/
-#ifdef __CYGWIN32__
#include <errno.h>
-#endif
-extern int errno;
#if !defined(BSD44) && !defined(__GNU_LIBRARY__) /* in <stdio.h> */
extern int sys_nerr;
extern char *sys_errlist[];