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 e98a961..53250d6 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