From 7f91ee936f2293170b0062465967d41bac696ae1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 15 Mar 2001 03:09:52 +0000 Subject: [PATCH] Clean up header inclusion --- libraries/liblutil/passwd.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 2c6546421b..2d78acdbc4 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -39,17 +39,19 @@ #include #ifdef SLAPD_CRYPT -#include -#endif +# include -#ifdef HAVE_SHADOW_H +# if defined( HAVE_GETPWNAM ) && defined( HAVE_PW_PASSWD ) +# ifdef HAVE_SHADOW_H # include -#endif -#ifdef HAVE_PWD_H +# endif +# ifdef HAVE_PWD_H # include -#endif -#ifdef HAVE_AIX_SECURITY +# endif +# ifdef HAVE_AIX_SECURITY # include +# endif +# endif #endif #include -- 2.39.5