$NetBSD: patch-ac,v 1.1 2011/01/25 09:07:58 obache Exp $

* Recent OpemPAM define `OPENPAM', not `_OPENPAM'.

--- common/pam_af.h.orig	2005-10-16 15:55:28.000000000 +0000
+++ common/pam_af.h
@@ -37,7 +37,7 @@
 #define CFGDB "/etc/pam_af.conf"
 #define CFGDB_PERM (S_IRUSR | S_IWUSR)
 
-#ifdef _OPENPAM
+#if defined(_OPENPAM) || defined(OPENPAM)
 # define PAM_AF_LOG(...) \
 	PAM_LOG(__VA_ARGS__)
 # define PAM_AF_LOGERR(...) \
