Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06CB910359 for ; Sat, 13 Jul 2013 15:47:57 +0000 (UTC) Received: (qmail 70299 invoked by uid 500); 13 Jul 2013 15:47:56 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 70199 invoked by uid 500); 13 Jul 2013 15:47:52 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 70192 invoked by uid 99); 13 Jul 2013 15:47:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jul 2013 15:47:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jul 2013 15:47:47 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DB9E523888E2; Sat, 13 Jul 2013 15:47:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1502804 - /apr/apr/trunk/build/apr_network.m4 Date: Sat, 13 Jul 2013 15:47:26 -0000 To: commits@apr.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130713154726.DB9E523888E2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rjung Date: Sat Jul 13 15:47:26 2013 New Revision: 1502804 URL: http://svn.apache.org/r1502804 Log: Fix broken test for O_NONBLOCK inheritance. Followup to r1449568 which misses the variable declaration. Modified: apr/apr/trunk/build/apr_network.m4 Modified: apr/apr/trunk/build/apr_network.m4 URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_network.m4?rev=1502804&r1=1502803&r2=1502804&view=diff ============================================================================== --- apr/apr/trunk/build/apr_network.m4 (original) +++ apr/apr/trunk/build/apr_network.m4 Sat Jul 13 15:47:26 2013 @@ -570,6 +570,9 @@ AC_DEFUN([APR_CHECK_O_NONBLOCK_INHERITED #ifdef HAVE_SYS_SOCKET_H #include #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #ifdef HAVE_SYS_SELECT_H #include #endif @@ -590,6 +593,8 @@ int main(void) { int listen_port, rc; struct sockaddr_in sa; socklen_t sa_len; + fd_set fds; + struct timeval tv; listen_s = socket(AF_INET, SOCK_STREAM, 0); if (listen_s < 0) {