krb5_plugin: Use #ifdef instead of #if for config.h definitions
authorAndreas Schneider <asn@samba.org>
Tue, 20 Nov 2018 13:06:48 +0000 (14:06 +0100)
committerGary Lockyer <gary@samba.org>
Wed, 28 Nov 2018 22:19:22 +0000 (23:19 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
nsswitch/krb5_plugin/winbind_krb5_localauth.c
nsswitch/krb5_plugin/winbind_krb5_locator.c

index e27bd6c6c548644bdf6ba3acce55b43c33a8a614..f87b19abed690321c710c161cc16f8101e54432a 100644 (file)
@@ -22,7 +22,7 @@
 #include "replace.h"
 #include <krb5/localauth_plugin.h>
 #include <wbclient.h>
-#if HAVE_COM_ERR_H
+#ifdef HAVE_COM_ERR_H
 #include <com_err.h>
 #endif
 
index 91a2d64d84c4eafd2b37e642572b27d984546f26..518c871b248658ca39fc4407719d16a09c898e26 100644 (file)
@@ -26,7 +26,7 @@
 
 #if defined(HAVE_KRB5) && defined(HAVE_KRB5_LOCATE_PLUGIN_H)
 
-#if HAVE_COM_ERR_H
+#ifdef HAVE_COM_ERR_H
 #include <com_err.h>
 #endif