diff options
Diffstat (limited to 'source3/nsswitch/winbind_nss_config.h')
-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. */ |