Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 00:51:42 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Jonathan Lemon <jlemon@flugsvamp.com>
Cc:        bugs@freebsd.org
Subject:   Re: FreeBSD-stable (4.x). netinet/in.h
Message-ID:  <Pine.BSF.4.21.0012090050320.28452-100000@woozle.rinet.ru>
In-Reply-To: <200012081955.eB8JtVr89597@prism.flugsvamp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Dec 2000, Jonathan Lemon wrote:

JL> >I found that before including netinet/in.h developer _must_ include
JL> >sys/types.h before, or your source is not compilable. Is it
JL> >intentional? :)
JL> 
JL> In general yes; the caller is expected to #include the appropriate
JL> prerequisite files.  Otherwise every .h file in the kernel would be
JL> includeing <sys/types.h>, <sys/param.h>, and the like.

I suppose the overhead to be very small -- every header contains
appropriate #ifdef/#define pair...

Of course, this is mainly design issue, not really a bug ;)

Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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?Pine.BSF.4.21.0012090050320.28452-100000>