$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 #include #include #include @@ -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 */