s3:utils: Use #ifdef instead of #if for config.h definitions
authorAndreas Schneider <asn@samba.org>
Tue, 20 Nov 2018 14:57:51 +0000 (15:57 +0100)
committerGary Lockyer <gary@samba.org>
Wed, 28 Nov 2018 22:19:24 +0000 (23:19 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/utils/ntlm_auth.c
source3/utils/smbcontrol.c

index b8014ec103465e9ba0d1ac3551662ba2e1f3b4be..629f5e5dd6b6c0cd74166962e9ea6d4503e02e76 100644 (file)
@@ -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
 
index 597bab6450dd7ae8246c706da1960ea2721baed0..866217c248bc51e548462a95570b4e3bb16fac1e 100644 (file)
 #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