On 2003-03-27 10:05, Jesus Daniel Valencia Sanchez <[EMAIL PROTECTED]> wrote:
> On Thu, 27 Mar 2003, Giorgos Keramidas wrote:
> > Make sure you include <sys/types.h> before <sys/socket.h>.
>
> Hello
> thank you very much... that was it.
>
> i wonder why didn't they #include <sys/types.h> inside sockets.h if it was
> needed.

Intentionally.  To avoid namespace pollution that this would cause, by
bringing in all the data types that sys/types.h and any header that
sys/type.h would suddenly want to ``automagically'' include.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to