summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 15:57:51 +0100
committerGary Lockyer <gary@samba.org>2018-11-28 23:19:24 +0100
commitfce92606b356883ed9fbea6948d426345ede79cf (patch)
treef03475331aa6c03b786632ffd7cb460ebc6c7a80 /source3
parent95432e30e9b2f1aa4832b045ff70bac3853f4d17 (diff)
downloadsamba-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.c2
-rw-r--r--source3/utils/smbcontrol.c6
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