From 540caf7ea691874436ddfaf440f4b0714e592dce Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 Sep 2007 20:09:29 +0000 Subject: r25181: sync winbind client code with samba3 NOTE: wbinfo.c isn't fully merged here metze (This used to be commit eee5327dc2f79c052c2db0ca89f23cc9d2ce355d) --- source4/nsswitch/winbind_nss.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source4/nsswitch/winbind_nss.h') diff --git a/source4/nsswitch/winbind_nss.h b/source4/nsswitch/winbind_nss.h index c4b2951643..0a3bc7cefa 100644 --- a/source4/nsswitch/winbind_nss.h +++ b/source4/nsswitch/winbind_nss.h @@ -53,7 +53,15 @@ #include "nsswitch/winbind_nss_hpux.h" -#else /* Nothing's defined. Neither gnu nor sun nor hp */ +#elif defined(__NetBSD__) && defined(HAVE_GETPWENT_R) + +/* + * NetBSD 3 and newer + */ + +#include "nsswitch/winbind_nss_netbsd.h" + +#else /* Nothing's defined. Neither gnu nor netbsd nor sun nor hp */ typedef enum { -- cgit