$NetBSD: patch-ac,v 1.1 2006/03/04 15:16:30 joerg Exp $

--- perdition/pam.c.orig	2006-03-04 15:10:45.000000000 +0000
+++ perdition/pam.c
@@ -31,6 +31,7 @@
 #include "config.h"
 #endif
 
+#include <errno.h>
 
 #include "pam.h"
 
@@ -52,8 +53,6 @@ int perdition_conv(
 ){
   char *pass;
 
-  extern int errno;
-
   if((
     *response=(struct pam_response *)malloc(sizeof(struct pam_response))
   )==NULL){
