summaryrefslogtreecommitdiff
path: root/mail/ja-mh/patches/patch-aj
blob: b4375789df22fbafc2fb64e17459be25a12e0887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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[];