From owner-freebsd-ports@FreeBSD.ORG Wed Jan 19 03:18:49 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 1596116A4CE for ; Wed, 19 Jan 2005 03:18:49 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1ABD443D1D for ; Wed, 19 Jan 2005 03:18:48 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 19 Jan 2005 03:18:46 -0000 Received: from pD955F611.dip.t-dialin.net (EHLO lofi.dyndns.org) (217.85.246.17) by mail.gmx.net (mp015) with SMTP; 19 Jan 2005 04:18:46 +0100 X-Authenticated: #443188 Received: from [192.168.8.4] (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j0J3Ie0Z023484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Jan 2005 04:18:41 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <41EDD190.4010509@gmx.net> Date: Wed, 19 Jan 2005 04:18:40 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: Chuck Swiger References: <0C3AB98B-69AD-11D9-B776-003065ABFD92@mac.com> <20050119012809.GA62189@xor.obsecurity.org> <41EDCBA1.4030909@mac.com> In-Reply-To: <41EDCBA1.4030909@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: freebsd-ports@freebsd.org cc: Kris Kennaway 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 03:18:49 -0000 Chuck Swiger wrote: > Kris Kennaway wrote: > >> On Tue, Jan 18, 2005 at 06:59:53PM -0500, Charles Swiger wrote: > > [ ... ] > >>> This was on a 4.11 system, but the BZFlag code compiles on Linux, >>> Solaris, MacOS X, and Win32, so I'm not going to assume that BZFlag >>> is doing something wrong, either. >> >> >> Coding error ("All The World is Linux"). > > > 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). If you go back a few linux kernel/solaris/macosx releases, you'd probably find the extra include requirement there, too. -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org