From bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 30 Jul 2008 16:33:19 +0000 Subject: * nscd/connections.c (nscd_init): Type if preprocessor directive. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define. --- nscd/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/connections.c b/nscd/connections.c index a1b92f466b..8281533c3b 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -880,7 +880,7 @@ cannot set socket to close on exec: %s; disabling paranoia mode"), #endif { sock = socket (AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); -#ifdef __ASSUME_SOCK_CLOEXEC +#ifndef __ASSUME_SOCK_CLOEXEC if (have_sock_cloexec == 0) have_sock_cloexec = sock != -1 || errno != EINVAL ? 1 : -1; #endif -- cgit v1.2.3