From f1ccd14b424e4edca000850800905d9e7d3a83b7 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 6 Jul 2000 06:59:27 +0000 Subject: Include nss.h if present or define enough values to allow client access to winbind. (This used to be commit 669bd8dc1ab4690cf21310fe0310f1716e4a0197) --- source3/include/includes.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source3/include/includes.h b/source3/include/includes.h index 1400b2f07e..4a760b86f5 100644 --- a/source3/include/includes.h +++ b/source3/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 +#else + +/* Minimal needed to compile.. */ + +enum nss_status { + NSS_STATUS_SUCCESS, + NSS_STATUS_NOTFOUND, + NSS_STATUS_UNAVAIL +}; + +#endif + #endif /* _INCLUDES_H */ + -- cgit