summaryrefslogtreecommitdiff
path: root/mail/perdition/patches/patch-ac
blob: 287aaccc737cc33f0314f8d4dc5e03bc8cf527e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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){