Date: Wed, 8 Jan 1997 01:19:11 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@freebsd.org Subject: Re: #include file xref philosophy Message-ID: <Mutt.19970108011911.j@uriah.heep.sax.de> In-Reply-To: <199701072241.JAA17826@profane.iq.org>; from Julian Assange on Jan 8, 1997 09:41:30 %2B1100 References: <199701072241.JAA17826@profane.iq.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As Julian Assange wrote: > What is the -current philosophy on intra #include file dependencies? > > Is there any reason for not following the posix line and having > include files resolve all their own dependencies? I'm talking about > things like <dirent.h> needing the code that includes it, include > <sys/types.h> before hand. IIRC, Bruce once mentioned that Posix allows it to require the inclusion of <sys/types.h> (xor another <sys/something.h> which i eventually forgot) before other things. Either way, the corresponding man pages should at least mention the required include files, so your complaint about ``magical knowledge'' would not be true. -- 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970108011911.j>