Date: Fri, 8 Dec 2000 13:55:31 -0600 (CST) From: Jonathan Lemon <jlemon@flugsvamp.com> To: marck@rinet.ru, bugs@freebsd.org Subject: Re: FreeBSD-stable (4.x). netinet/in.h Message-ID: <200012081955.eB8JtVr89597@prism.flugsvamp.com> In-Reply-To: <local.mail.freebsd-bugs/Pine.BSF.4.21.0012082018590.11640-100000@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <local.mail.freebsd-bugs/Pine.BSF.4.21.0012082018590.11640-100000@woozle.rinet.ru> you write: >Hi there colleagues, > >I found that before including netinet/in.h developer _must_ include >sys/types.h before, or your source is not compilable. Is it >intentional? :) In general yes; the caller is expected to #include the appropriate prerequisite files. Otherwise every .h file in the kernel would be includeing <sys/types.h>, <sys/param.h>, and the like. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012081955.eB8JtVr89597>