summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-12-13 18:51:18 +0100
committerGary Lockyer <gary@samba.org>2018-12-16 21:04:10 +0100
commit7ea82eaca092e2f9aafef7c35227b7d1d35f9afe (patch)
tree7fadf4a1d1ece0c7f25885c5fe6b56077e81e742 /nsswitch
parent648e70ba7bf891421299bb7e2b8a20f2e9769b97 (diff)
downloadsamba-7ea82eaca092e2f9aafef7c35227b7d1d35f9afe.tar.gz
nsswitch: Fix checking for config.h #define in winbind_nss.h
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/winbind_nss.h4
1 files 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