summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-09-15 18:14:06 +0200
committerGünther Deschner <gd@samba.org>2011-09-15 20:59:26 +0200
commitf98ad9e9edd6c3881784e57e3ef87afe8d12efdc (patch)
tree6e9039195b7c2d47565ef68f1145467f4038ce32 /source3/wscript
parenta7d2437bc0b69b8704d9d38fd758599ad840be1d (diff)
downloadsamba-f98ad9e9edd6c3881784e57e3ef87afe8d12efdc.tar.gz
samba-f98ad9e9edd6c3881784e57e3ef87afe8d12efdc.tar.bz2
samba-f98ad9e9edd6c3881784e57e3ef87afe8d12efdc.zip
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
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 165146cf6f..1b7f0e7745 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -443,7 +443,7 @@ return acl_get_perm_np(permset_d, perm);
conf.CHECK_CODE('''
#include <sys/types.h>
- #include <sys/socket.h>],
+ #include <sys/socket.h>
struct ucred cred;
socklen_t cred_len;
int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);''',