From 7c3432c53a1a868d1ae52ad3b2e3766efa28ab69 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 14 Apr 2010 23:04:12 +1200 Subject: [PATCH] Provide smb_lm helper with config.h definitions --- helpers/ntlm_auth/smb_lm/libntlmssp.c | 4 +--- helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/helpers/ntlm_auth/smb_lm/libntlmssp.c b/helpers/ntlm_auth/smb_lm/libntlmssp.c index a0d34c13cd..45c16e19d0 100644 --- a/helpers/ntlm_auth/smb_lm/libntlmssp.c +++ b/helpers/ntlm_auth/smb_lm/libntlmssp.c @@ -12,6 +12,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. */ +#include "config.h" typedef unsigned char uchar; @@ -23,9 +24,6 @@ typedef unsigned char uchar; #if HAVE_STRING_H #include #endif /* HAVE_STRING_H */ -#if HAVE_STDLIB_H -#include -#endif /* HAVE_STDLIB_H */ #if HAVE_UNISTD_H #include #endif diff --git a/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h index 52b08e9637..3d96aaf456 100644 --- a/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h +++ b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h @@ -31,7 +31,7 @@ * define this if you want debugging */ #ifndef DEBUG -#define DEBUG +#define DEBUG 1 #endif #define DEAD_DC_RETRY_INTERVAL 30 -- 2.47.3