$NetBSD: patch-aa,v 1.2 2006/01/15 16:25:41 kleink Exp $

--- auth_ldap.c.orig	2006-01-09 19:08:56.000000000 +0100
+++ auth_ldap.c	2006-01-15 17:19:30.000000000 +0100
@@ -173,7 +173,6 @@
 #else
     if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
 #endif
-      extern int errno;
       auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
       return 0;
     }
