nsswitch: Fix checking for config.h #define in winbind_nss.h
authorAndreas Schneider <asn@samba.org>
Thu, 13 Dec 2018 17:51:18 +0000 (18:51 +0100)
committerGary Lockyer <gary@samba.org>
Sun, 16 Dec 2018 20:04:10 +0000 (21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
nsswitch/winbind_nss.h

index e98a961bc11de01b6c13ff2ebba487b5bc2b5189..53250d6f9fd5fb7f50773c32c7be2767149d19f3 100644 (file)
@@ -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