From 72713d0b73c5bd9d584682fe5abcf78cfec720fc Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 1 Jan 2008 14:32:41 +0000 Subject: [PATCH] Forgot to commit that one. Avoid empty file when USE_PAM is set. --- lib/pwauth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pwauth.c b/lib/pwauth.c index 7b44a0ab..f3d62936 100644 --- a/lib/pwauth.c +++ b/lib/pwauth.c @@ -207,4 +207,6 @@ pw_auth (const char *cipher, const char *user, int reason, const char *input) strzero (clear); return retval; } +#else /* !USE_PAM */ +extern int errno; /* warning: ANSI C forbids an empty source file */ #endif /* !USE_PAM */