From fce92606b356883ed9fbea6948d426345ede79cf Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 20 Nov 2018 15:57:51 +0100 Subject: [PATCH] s3:utils: Use #ifdef instead of #if for config.h definitions Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- source3/utils/ntlm_auth.c | 2 +- source3/utils/smbcontrol.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index b8014ec1034..629f5e5dd6b 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -49,7 +49,7 @@ #include "lib/util/base64.h" #include "cmdline_contexts.h" -#if HAVE_KRB5 +#ifdef HAVE_KRB5 #include "auth/kerberos/pac_utils.h" #endif diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 597bab6450d..866217c248b 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -37,15 +37,15 @@ #include "serverid.h" #include "cmdline_contexts.h" -#if HAVE_LIBUNWIND_H +#ifdef HAVE_LIBUNWIND_H #include #endif -#if HAVE_LIBUNWIND_PTRACE_H +#ifdef HAVE_LIBUNWIND_PTRACE_H #include #endif -#if HAVE_SYS_PTRACE_H +#ifdef HAVE_SYS_PTRACE_H #include #endif -- 2.47.2