summaryrefslogtreecommitdiff
path: root/net/openvmps/patches/patch-aa
blob: a5ca083113a171516811a322fdb4025f3456f048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.2 2006/03/14 01:32:00 joerg Exp $

--- daemon.c.orig	2004-07-24 00:46:49.000000000 +0000
+++ daemon.c
@@ -14,8 +14,6 @@
 #define	VMPS_CHECK_BSD
 #endif
 
-extern int	errno;
-
 #ifdef	VMPS_CHECK_BSD
 #include <sys/file.h>
 #include <sys/ioctl.h>
@@ -44,6 +42,9 @@ daemon_start(ignsigcld)
 
 {
 	register int	childpid;
+#ifdef 	VMPS_CHECK_BSD
+	int fd;
+#endif
 
 #ifdef	SIGTTOU
 	signal(SIGTTOU, SIG_IGN);