$NetBSD: patch-af,v 1.1 2005/12/18 18:01:18 joerg Exp $

--- clients/archie/dirsend.c.orig	2005-12-18 17:34:43.000000000 +0000
+++ clients/archie/dirsend.c
@@ -17,6 +17,7 @@
 #ifdef ISC
 # include <net/errno.h>
 #endif /* ISC */
+#include <errno.h>
 
 #include "pfs.h"
 #include "pprot.h"
@@ -24,7 +25,6 @@
 #include "perrno.h"
 
 static int notprived = 0;
-extern int errno;
 extern int perrno;
 extern int rdgram_priority;
 #ifdef DEBUG
