From owner-freebsd-hackers Wed Jan 8 13:53:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA02012 for hackers-outgoing; Wed, 8 Jan 1997 13:53:31 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA02001 for ; Wed, 8 Jan 1997 13:53:27 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA05082 for ; Wed, 8 Jan 1997 22:51:52 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA22605 for hackers@freebsd.org; Wed, 8 Jan 1997 22:51:52 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id WAA14740; Wed, 8 Jan 1997 22:35:36 +0100 (MET) Message-ID: Date: Wed, 8 Jan 1997 22:35:36 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@freebsd.org Subject: Re: #include file xref philosophy References: <199701081012.FAA03591@hda.hda.com> <19970108121529.5416.qmail@suburbia.net> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970108121529.5416.qmail@suburbia.net>; from proff@suburbia.net on Jan 8, 1997 23:15:29 +1100 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As proff@suburbia.net wrote: > include/netinet/*.h are frightful. As a bunch of other things when > -DKERNEL is on. I don't have an argument against self-contained include files. However a note of warning: you are _never_ (really: never) supposed to compile any userland utility with -DKERNEL. (I think it should be renamed into _KERNE, so it's in the reserved namespaceL.) > Someone replied to me 'the magic is in the man page' This was only done in response to your claim that one must ``magically know'' what to include. Don't rip something off its context, and later reuse it as it seems it fits best for your argumentation purposes. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)