blob: 95d910935d10aa1d0c97032b19cad85ee5f1e6bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$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[];
|