mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
nss_wrapper: try to fix the build of nss_wrapper on solaris.
Guenther
This commit is contained in:
parent
ff736dfcad
commit
241db90c31
@ -68,6 +68,11 @@
|
|||||||
#define getgrent_r(grdst, buf, buflen, grdstp) ENOSYS
|
#define getgrent_r(grdst, buf, buflen, grdstp) ENOSYS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* not all systems have getgrouplist */
|
||||||
|
#ifndef HAVE_GETGROUPLIST
|
||||||
|
#define getgrouplist(user, group, groups, ngroups) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* LD_PRELOAD doesn't work yet, so REWRITE_CALLS is all we support
|
/* LD_PRELOAD doesn't work yet, so REWRITE_CALLS is all we support
|
||||||
* for now */
|
* for now */
|
||||||
#define REWRITE_CALLS
|
#define REWRITE_CALLS
|
||||||
|
@ -116,6 +116,7 @@ AC_VERIFY_C_PROTOTYPE([struct group *getgrent_r(struct group *src, char *buf, si
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
])
|
])
|
||||||
|
AC_CHECK_FUNCS(getgrouplist)
|
||||||
|
|
||||||
# locale
|
# locale
|
||||||
AC_CHECK_HEADERS(ctype.h locale.h)
|
AC_CHECK_HEADERS(ctype.h locale.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user