$NetBSD: patch-aa,v 1.5 2007/03/07 17:56:37 joerg Exp $

--- src/ftpd.c.orig	2007-03-07 17:23:16.000000000 +0000
+++ src/ftpd.c
@@ -3744,7 +3744,11 @@ checkpassword(const struct passwd *pwent
 	expire = pwent->pw_expire;
 #endif
 #if HAVE_PW_CHANGE
+#ifdef _PASSWORD_CHGNOW
 	change = (pwent->pw_change == _PASSWORD_CHGNOW)? now : pwent->pw_change;
+#else
+	change = pwent->pw_change;
+#endif
 #endif
 #endif
 
