nsswitch: Fix checking for config.h #define in winbind_nss.h
[vlendec/samba-autobuild/.git] / 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