summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 14:06:48 +0100
committerGary Lockyer <gary@samba.org>2018-11-28 23:19:22 +0100
commitd035f2492e306ddc74b1b9fe533608e0f37a1cd0 (patch)
treef4271894ccba4de6edc29ce655676f8acfbc44ed /nsswitch
parentb51e8b980801f635bffe57a648606ad388f22923 (diff)
downloadsamba-d035f2492e306ddc74b1b9fe533608e0f37a1cd0.tar.gz
krb5_plugin: 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 'nsswitch')
-rw-r--r--nsswitch/krb5_plugin/winbind_krb5_localauth.c2
-rw-r--r--nsswitch/krb5_plugin/winbind_krb5_locator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/krb5_plugin/winbind_krb5_localauth.c b/nsswitch/krb5_plugin/winbind_krb5_localauth.c
index e27bd6c6c54..f87b19abed6 100644
--- a/nsswitch/krb5_plugin/winbind_krb5_localauth.c
+++ b/nsswitch/krb5_plugin/winbind_krb5_localauth.c
@@ -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
diff --git a/nsswitch/krb5_plugin/winbind_krb5_locator.c b/nsswitch/krb5_plugin/winbind_krb5_locator.c
index 91a2d64d84c..518c871b248 100644
--- a/nsswitch/krb5_plugin/winbind_krb5_locator.c
+++ b/nsswitch/krb5_plugin/winbind_krb5_locator.c
@@ -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