From owner-freebsd-questions Fri Oct 10 01:11:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA02004 for questions-outgoing; Fri, 10 Oct 1997 01:11:45 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from rvc1.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA01996 for ; Fri, 10 Oct 1997 01:11:29 -0700 (PDT) (envelope-from helbig@Informatik.BA-Stuttgart.DE) Received: (from helbig@localhost) by rvc1.informatik.ba-stuttgart.de (8.8.7/8.8.5) id KAA27210; Fri, 10 Oct 1997 10:09:51 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199710100809.KAA27210@rvc1.informatik.ba-stuttgart.de> Subject: Re: Locally defining system constants? In-Reply-To: <19971009112106.47889@pavilion.net> from Josef Karthauser at "Oct 9, 97 11:21:06 am" To: joe@pavilion.net (Josef Karthauser) Date: Fri, 10 Oct 1997 10:09:51 +0200 (MET DST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I need to redefine FD_SETSIZE to a larger value on a local machine > and don't know the best way to do it so that it doesn't get stomped > on every cvsup. Currently I'm defining it in /usr/src/sys/sys/types.h, > but it should be able to be defined externally (in make.conf?). > > Does anyone know how? Set CFLAGS= -DFD_SETSIZE=1024 in /etc/make.conf. But I doubt you need to set FD_SETSIZE system wide. The value provided in is a *default* value, that can and should be set to the user choosen value in the local make file or in the C source (before including ). Wolfgang