From owner-freebsd-ports@FreeBSD.ORG Wed Jan 19 04:32:05 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B36D16A4CE for ; Wed, 19 Jan 2005 04:32:05 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1CC243D41 for ; Wed, 19 Jan 2005 04:32:04 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] (pool-68-160-236-186.ny325.east.verizon.net [68.160.236.186]) by pi.codefab.com (8.12.11/8.12.11) with ESMTP id j0J4VtOC062497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 23:32:01 -0500 (EST) Message-ID: <41EDE335.1000704@mac.com> Date: Tue, 18 Jan 2005 23:33:57 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock References: <0C3AB98B-69AD-11D9-B776-003065ABFD92@mac.com> <20050119012809.GA62189@xor.obsecurity.org> <41EDCBA1.4030909@mac.com> <41EDD190.4010509@gmx.net> In-Reply-To: <41EDD190.4010509@gmx.net> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.9 required=5.5 tests=AWL,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=disabled version=3.0.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on pi.codefab.com cc: freebsd-ports@freebsd.org Subject: Re: depends on ...? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 04:32:05 -0000 Michael Nottebrock wrote: > Chuck Swiger wrote: [ ... ] >> OK, although note that MacOS X compiles foo.cxx without changes-- >> sys/select.h will pull in what it needs to work on that platform: > > IIRC, FreeBSD 5.x doesn't need the extra include either. > AFAIK, it's not so a much wrong-or-right issue (SUSv2 or similar > standards don't require sys/select.h to setup the types it needs), but > just a change of conventions (not having to include sys/types.h to make > sys/select.h work is certainly convenient). OK, thanks for the additional thoughts. I'm happy to see system header files move in a direction that facilitates use-- ie, they know what they depend on and ensure that what they need gets pulled in. After all, if people are going to spend the time & effort to make system header files...erm, idempotent?, then one might as well take advantage of that and of any compiler support available (precompiled headers). > If you go back a few linux kernel/solaris/macosx releases, you'd > probably find the extra include requirement there, too. Sure. Only, if an earlier version of Linux 2.2 or OS X needed sys/types.h to use sys/select.h, then wouldn't the BZFlag sources know to use it by now...? :-) -- -Chuck