From a69d47640cb150fbffa12dee68ead34a5b1931bb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 20 Jun 2000 00:32:32 +0000 Subject: Fixes for IRIX kernel oplocks and systems that don't have nss.h Jeremy. (This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847) --- source3/nsswitch/winbind_nss_config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index 0aac5a786a..c8e43f396c 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/nsswitch/winbind_nss_config.h @@ -59,7 +59,17 @@ #include #include #include + +#ifdef HAVE_NSS_H #include +#else +/* Minimal needed to compile.. */ +enum nss_status { +NSS_STATUS_SUCCESS, +NSS_STATUS_NOTFOUND, +NSS_STATUS_UNAVAIL +}; +#endif /* I'm trying really hard not to include anything from smb.h with the result of some silly looking redeclaration of structures. */ -- cgit