summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbind_nss_solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch/winbind_nss_solaris.c')
-rw-r--r--source/nsswitch/winbind_nss_solaris.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/nsswitch/winbind_nss_solaris.c b/source/nsswitch/winbind_nss_solaris.c
index 64b8b734f17..8076c043e04 100644
--- a/source/nsswitch/winbind_nss_solaris.c
+++ b/source/nsswitch/winbind_nss_solaris.c
@@ -340,6 +340,7 @@ _nss_winbind_group_constr (const char* db_name,
/*****************************************************************
hosts and ipnodes backend
*****************************************************************/
+#if defined(SUNOS5) /* not compatible with HP-UX */
/* this parser is shared between get*byname and get*byaddr, as key type
in request is stored in different locations, I had to provide the
@@ -627,4 +628,5 @@ _nss_winbind_hosts_constr(dummy1, dummy2, dummy3)
sizeof (host_ops) / sizeof (host_ops[0])));
}
-#endif /* SUN_NSS */
+#endif /* defined(SUNOS5) */
+#endif /* defined(HAVE_NSS_COMMON_H) || defined(HPUX) */