]> granicus.if.org Git - sudo/commitdiff
linux diff
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Oct 1993 00:30:16 +0000 (00:30 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Oct 1993 00:30:16 +0000 (00:30 +0000)
check.c

diff --git a/check.c b/check.c
index 933c03b5788b0d45094a32f4bcb06212644454cb..b71e6dafea0844f592ad1eb3b9a4610d779f8e51 100644 (file)
--- a/check.c
+++ b/check.c
@@ -205,7 +205,9 @@ static void update_timestamp()
 
 static void check_passwd()
 {
+#if !(defined (linux) && defined (SHADOW_PWD))
     char *crypt();
+#endif /* linux */
     struct passwd *pw_ent;
     char *encrypted;           /* this comes from /etc/passwd  */
     char *pass;                        /* this is what gets entered    */