s3-waf: fix SO_PEERCRED configure check.
authorGünther Deschner <gd@samba.org>
Thu, 15 Sep 2011 16:14:06 +0000 (18:14 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 15 Sep 2011 18:59:26 +0000 (20:59 +0200)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Sep 15 20:59:26 CEST 2011 on sn-devel-104

source3/wscript

index 165146cf6f291a9eba23875442956d7be05ca2b5..1b7f0e7745a951ab42a6c873527fc41752d41cde 100644 (file)
@@ -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);''',