From: Paul Mackerras Date: Wed, 30 Jan 2008 05:24:04 +0000 (+0000) Subject: Fix some compile warnings and errors in the !USE_PAM case. X-Git-Tag: ppp-2.4.7~100 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=5bf6b47df03c7d16ffbebfd83d4f0b5fee146dab Fix some compile warnings and errors in the !USE_PAM case. --- diff --git a/pppd/session.c b/pppd/session.c index 05dcb76..f9f8fc0 100644 --- a/pppd/session.c +++ b/pppd/session.c @@ -73,6 +73,11 @@ #include #include #include +#include +#include +#include +#include +#include #include "pppd.h" #include "session.h" @@ -164,8 +169,8 @@ session_start(flags, user, passwd, ttyName, msg) const char *ttyName; char **msg; { - bool ok = 1; #ifdef USE_PAM + bool ok = 1; const char *usr; int pam_error; bool try_session = 0;