summaryrefslogtreecommitdiff
path: root/time/plan/patches/patch-af
blob: 54059165d1c973904630521a052f717755aaec82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-af,v 1.2 2006/01/02 22:29:03 joerg Exp $

--- netplan.c.orig	2000-03-21 20:57:40.000000000 +0000
+++ netplan.c
@@ -4,6 +4,7 @@
 
 typedef void *Widget;	/* dummy for prototype declarations in config.h */
 
+#include <errno.h>
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -51,7 +52,6 @@ static struct pfile	*file_list;	/* array
 struct client		*client_list;	/* array of clients (entry 0 unused) */
 static fd_set		rd0, wr0, ex0;	/* preset fd masks for main select */
 static time_t		update_time;	/* date of last unwritten change */
-extern int		errno;
 static BOOL             do_auth = FALSE;/* authentication required (identd) */
 static int		netplan_port[2];/* ports we are listening on */
 static int		fd_inet[2];	/* file descriptor for base socket */