Date: Thu, 09 May 2002 15:09:55 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Damon Anton Permezel <dap@damon.com> Cc: Greg Black <gjb@gbch.net>, Ian <freebsd@damnhippie.dyndns.org>, freebsd-hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: /usr/include/netinet/in.h Message-ID: <3CDAF3B3.1D09C688@mindspring.com> References: <B8FED3FA.CC8C%freebsd@damnhippie.dyndns.org> <nospam-1020923159.81968@bambi.gbch.net> <20020509151055.B348@damon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <fcntl.h> > > int > open(const char *path, int flags, ...); > ... > > % ed $inc/fcntl.h > ... > /* > * This file includes the definitions for open and fcntl > * described by POSIX for <fcntl.h>; it also includes > * related kernel definitions. > */ > > #ifndef _KERNEL > #include <sys/types.h> > #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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CDAF3B3.1D09C688>