mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-waf: fix SO_PEERCRED configure check.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 20:59:26 CEST 2011 on sn-devel-104
This commit is contained in:
parent
a7d2437bc0
commit
f98ad9e9ed
@ -443,7 +443,7 @@ return acl_get_perm_np(permset_d, perm);
|
|||||||
|
|
||||||
conf.CHECK_CODE('''
|
conf.CHECK_CODE('''
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>],
|
#include <sys/socket.h>
|
||||||
struct ucred cred;
|
struct ucred cred;
|
||||||
socklen_t cred_len;
|
socklen_t cred_len;
|
||||||
int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);''',
|
int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);''',
|
||||||
|
Loading…
Reference in New Issue
Block a user