summaryrefslogtreecommitdiff
path: root/mail/ja-mh/patches/patch-av
blob: b8660c0fd261d8891b5b0ff40e8cc148cb9ac7ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-av,v 1.4 2010/09/27 12:01:49 taca Exp $

* Don't declare errno.
* Improve portability.

--- uip/dropsbr.c.orig	1998-04-23 21:02:00.000000000 +0000
+++ uip/dropsbr.c
@@ -20,6 +20,9 @@ static char ident[] = "@(#)$Id: dropsbr.
 #undef NULLVP
 #include <netinet/in.h>
 #else
+#ifdef ntohl
+#undef ntohl
+#endif
 #define	ntohl(n) (n)
 #endif
 
@@ -33,8 +36,6 @@ static	int	mbx_style = MMDF;
 
 static int	mbx_create(), mbx_chk(), map_open();
 
-extern int  errno;
-
 off_t   lseek ();
 
 /*  */