From f203358fdb456c6b4626324ef47698d0ccdc08a5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 12 Jan 2004 21:12:47 +0000 Subject: On systems without a working cracklib, ensure we don't include the header (the actual call to crack was already in this #ifdef) Andrew Bartlett (This used to be commit 4a01f3dbb4a2e744b48bdb86c4d91ee4692d38e5) --- source3/smbd/chgpasswd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index 07def7549e..692e82680d 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -49,6 +49,7 @@ #include "includes.h" +#ifdef HAVE_WORKING_CRACKLIB #include #ifndef HAVE_CRACKLIB_DICTPATH @@ -56,6 +57,7 @@ #define CRACKLIB_DICTPATH SAMBA_CRACKLIB_DICTPATH #endif #endif +#endif extern struct passdb_ops pdb_ops; -- cgit