From: Kurt Zeilenga Date: Thu, 15 Mar 2001 03:09:52 +0000 (+0000) Subject: Clean up header inclusion X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1487 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7f91ee936f2293170b0062465967d41bac696ae1;p=openldap Clean up header inclusion --- 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