From ee12d1706604759d25cd1508bd7e0fbf47ea536a Mon Sep 17 00:00:00 2001 From: Maxime Bizon Date: Thu, 9 Oct 2008 03:33:36 +0200 Subject: [PATCH] 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 --- pppd/session.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2