Received: by taz.hyperreal.com (8.6.12/8.6.5) id HAA01470; Tue, 12 Sep 1995 07:52:32 -0700 Received: from sierra.zyzzyva.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id HAA01454; Tue, 12 Sep 1995 07:52:28 -0700 Received: (from randy@localhost) by sierra.zyzzyva.com (8.6.12/8.6.11) id JAA09167 for new-httpd@apache.org; Tue, 12 Sep 1995 09:52:25 -0500 From: Randy Terbush Message-Id: <199509121452.JAA09167@sierra.zyzzyva.com> Subject: http_config.c patch for NEXT To: new-httpd@apache.org Date: Tue, 12 Sep 1995 09:52:25 -0500 (CDT) Content-Type: text Content-Length: 856 Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org I have followed up the help request on Usenet with the following patch. *** http_config.c.orig Tue Sep 12 09:30:23 1995 --- http_config.c Tue Sep 12 09:32:33 1995 *************** *** 84,91 **** --- 84,93 ---- #include "http_conf_globals.h" /* Sigh... */ #ifdef BSD + #ifndef NEXT #include #endif + #endif /**************************************************************** * *************** *** 627,632 **** --- 629,635 ---- server_rec *s = (server_rec *)pcalloc (p, sizeof (server_rec)); #ifdef BSD + #ifndef NEXT struct rlimit limits; getrlimit ( RLIMIT_NOFILE, &limits ); *************** *** 635,640 **** --- 638,644 ---- if ( setrlimit ( RLIMIT_NOFILE, &limits ) < 0 ) fprintf (stderr, "Cannot exceed hard limit for open files"); } + #endif #endif s->port = 0;