From owner-freebsd-hackers Sun Apr 20 11:44:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA05583 for hackers-outgoing; Sun, 20 Apr 1997 11:44:36 -0700 (PDT) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA05578 for ; Sun, 20 Apr 1997 11:44:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id LAA01077; Sun, 20 Apr 1997 11:39:21 -0700 (PDT) Message-Id: <199704201839.LAA01077@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: Bruce Evans Cc: freebsd-hackers@freebsd.org Subject: Re: cvs commit: src/sys/i386/include endian.h Reply-To: Jason Thorpe From: Jason Thorpe Date: Sun, 20 Apr 1997 11:39:19 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 20 Apr 1997 04:44:34 -0700 (PDT) Bruce Evans wrote: > Don't pollute the namespace if _POSIX_SOURCE is defined. This is > broken - it makes almost everything in inaccessible > if _POSIX_SOURCE is defined, yet is not a POSIX > header. Other systems don't do it any better. ...there's a very good reason to protect the namespace: basalt (thorpej) ~ 202% uname -sm ; grep endian.h /sys/sys/types.h NetBSD hp300 #include is not meant to be included standalone, but rather pulled in by other header files, which may be POSIX headers. (Note, that in NetBSD, defines the X/Open types in_addr_t and in_port_t) Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939