From 7ea82eaca092e2f9aafef7c35227b7d1d35f9afe Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 13 Dec 2018 18:51:18 +0100 Subject: [PATCH] nsswitch: Fix checking for config.h #define in winbind_nss.h Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- nsswitch/winbind_nss.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsswitch/winbind_nss.h b/nsswitch/winbind_nss.h index e98a961bc11..53250d6f9fd 100644 --- a/nsswitch/winbind_nss.h +++ b/nsswitch/winbind_nss.h @@ -32,7 +32,7 @@ #include "nsswitch/winbind_nss_solaris.h" #include "nsswitch/winbind_nss_linux.h" -#elif HAVE_NSS_H +#elif defined(HAVE_NSS_H) /* * Linux (glibc) @@ -44,7 +44,7 @@ typedef enum nss_status NSS_STATUS; #include "nsswitch/winbind_nss_linux.h" -#elif HAVE_NS_API_H +#elif defined(HAVE_NS_API_H) /* * SGI IRIX -- 2.34.1