summaryrefslogtreecommitdiff
path: root/mail/perdition/patches/patch-ac
blob: c042aace99d39e42b0739e805115daa58e301ac9 (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.2 2010/06/02 12:50:03 adam Exp $

--- perdition/pam.c.orig	2009-11-26 05:05:32.000000000 +0000
+++ perdition/pam.c
@@ -32,6 +32,7 @@
 #include "config.h"
 #endif
 
+#include <errno.h>
 
 #include "pam.h"
 
@@ -53,8 +54,6 @@ int perdition_conv(
 ){
   char *pass;
 
-  extern int errno;
-
   if((
     *response=(struct pam_response *)malloc(sizeof(struct pam_response))
   )==NULL){