From owner-freebsd-hackers Thu May 9 15:12:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 4AB7237B428 for ; Thu, 9 May 2002 15:10:36 -0700 (PDT) Received: from pool0102.cvx40-bradley.dialup.earthlink.net ([216.244.42.102] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 175w7J-0000q0-00; Thu, 09 May 2002 15:10:29 -0700 Message-ID: <3CDAF3B3.1D09C688@mindspring.com> Date: Thu, 09 May 2002 15:09:55 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Damon Anton Permezel Cc: Greg Black , Ian , freebsd-hackers Subject: Re: /usr/include/netinet/in.h References: <20020509151055.B348@damon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Damon Anton Permezel wrote: > OK, time to check an actual example to see if the supposed reason > this is a GoodThing(tm) exists. > > % man open > > ... > SYNOPSIS > #include > > int > open(const char *path, int flags, ...); > ... > > % ed $inc/fcntl.h > ... > /* > * This file includes the definitions for open and fcntl > * described by POSIX for ; it also includes > * related kernel definitions. > */ > > #ifndef _KERNEL > #include > #endif > ... > > So, the reasoning here appears specious. Sorry; didn't see you doing the "-D_KERNEL"... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message