mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
This commit is contained in:
parent
fd2bc08138
commit
4c4d0a029d
@ -34,6 +34,10 @@
|
||||
|
||||
#ifdef _SAMBA_BUILD_
|
||||
|
||||
/* defining this gives us the posix getpwnam_r() calls on solaris
|
||||
Thanks to heimdal for this */
|
||||
#define _POSIX_PTHREAD_SEMANTICS
|
||||
|
||||
#define NSS_WRAPPER_NOT_REPLACE
|
||||
#include "../replace/replace.h"
|
||||
#include "system/passwd.h"
|
||||
|
Loading…
Reference in New Issue
Block a user