$NetBSD: patch-ae,v 1.9 2008/04/03 20:19:42 jlam Exp $

--- auth/pampass.c.orig	2005-10-12 13:03:28.000000000 -0400
+++ auth/pampass.c
@@ -43,6 +43,10 @@
 
 #include <security/pam_appl.h>
 
+#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
+#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+#endif
+
 /*
  * Structure used to communicate between the conversation function
  * and the server_login/change password functions.
