diff options
author | Tim Potter <tpot@samba.org> | 2000-07-06 06:59:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-06 06:59:27 +0000 |
commit | 669bd8dc1ab4690cf21310fe0310f1716e4a0197 (patch) | |
tree | 51f55ca9fd559a7bde43d855fc3e99b8e7283765 | |
parent | 27d821913c87dddd44a0690f4b191c9d2445817e (diff) | |
download | samba-669bd8dc1ab4690cf21310fe0310f1716e4a0197.tar.gz samba-669bd8dc1ab4690cf21310fe0310f1716e4a0197.tar.xz samba-669bd8dc1ab4690cf21310fe0310f1716e4a0197.zip |
Include nss.h if present or define enough values to allow client access to
winbind.
-rw-r--r-- | source/include/includes.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 1400b2f07e6..4a760b86f57 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -935,4 +935,19 @@ extern int DEBUGLEVEL; #define MAX_SEC_CTX_DEPTH 8 /* Maximum number of security contexts */ +#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 + #endif /* _INCLUDES_H */ + |