diff options
author | Andreas Schneider <asn@samba.org> | 2018-11-20 15:57:51 +0100 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2018-11-28 23:19:24 +0100 |
commit | fce92606b356883ed9fbea6948d426345ede79cf (patch) | |
tree | f03475331aa6c03b786632ffd7cb460ebc6c7a80 /source3 | |
parent | 95432e30e9b2f1aa4832b045ff70bac3853f4d17 (diff) | |
download | samba-fce92606b356883ed9fbea6948d426345ede79cf.tar.gz |
s3:utils: Use #ifdef instead of #if for config.h definitions
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/ntlm_auth.c | 2 | ||||
-rw-r--r-- | 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 <libunwind.h> #endif -#if HAVE_LIBUNWIND_PTRACE_H +#ifdef HAVE_LIBUNWIND_PTRACE_H #include <libunwind-ptrace.h> #endif -#if HAVE_SYS_PTRACE_H +#ifdef HAVE_SYS_PTRACE_H #include <sys/ptrace.h> #endif |