1
0
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:
Andrew Tridgell 2010-03-22 18:40:44 +11:00
parent fd2bc08138
commit 4c4d0a029d

View File

@ -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"