diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-20 00:32:32 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-20 00:32:32 +0000 |
commit | a69d47640cb150fbffa12dee68ead34a5b1931bb (patch) | |
tree | 78e5beec1be8f17dc16af61a7ebec349d1f638d2 /source3/nsswitch | |
parent | 5e06151e4d13f6c57559e73dcc88e03ec47c63a0 (diff) | |
download | samba-a69d47640cb150fbffa12dee68ead34a5b1931bb.tar.gz samba-a69d47640cb150fbffa12dee68ead34a5b1931bb.tar.bz2 samba-a69d47640cb150fbffa12dee68ead34a5b1931bb.zip |
Fixes for IRIX kernel oplocks and systems that don't have nss.h
Jeremy.
(This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbind_nss_config.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <sys/stat.h> #include <errno.h> #include <pwd.h> + +#ifdef HAVE_NSS_H #include <nss.h> +#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. */ |