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 e27bd6c..f87b19a 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 91a2d64..518c871 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