From: Maxime Bizon Date: Thu, 9 Oct 2008 01:33:36 +0000 (+0200) Subject: Fix build when libc doesn't have shadow password support X-Git-Tag: ppp-2.4.7~63 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=ee12d1706604759d25cd1508bd7e0fbf47ea536a;p=ppp.git Fix build when libc doesn't have shadow password support Building ppp using uclibc, which doesn't have shadow password support, gets this error: session.c:76:20: error: shadow.h: No such file or directory This fixes it. Signed-off-by: Paul Mackerras --- diff --git a/pppd/session.c b/pppd/session.c index db70b43..bb7c5fa 100644 --- a/pppd/session.c +++ b/pppd/session.c @@ -73,7 +73,9 @@ #include #include #include +#ifdef USE_SHADOW #include +#endif #include #include #include