From 5fe090d8e2eff877e5cf01a37d05fee6c2856216 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 28 Feb 2012 11:45:19 -0500 Subject: [PATCH] sulogin: header/include cleanup - use our own crypt.h compile time check - remove ttydefaults.h include -- get this via termios.h, the same as agetty Signed-off-by: Dave Reisner --- login-utils/sulogin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c index 98caa2dbb6..def733658f 100644 --- a/login-utils/sulogin.c +++ b/login-utils/sulogin.c @@ -39,10 +39,9 @@ #include #include #include -#include #include #include -#if defined(__GLIBC__) +#ifdef HAVE_CRYPT_H # include #endif -- 2.47.3