keramida at ceid.upatras.gr
Thu Mar 27 14:43:06 PST 2003
On 2003-03-27 10:05, Jesus Daniel Valencia Sanchez <valencia at cicese.mx> wrote:
> On Thu, 27 Mar 2003, Giorgos Keramidas wrote:
> > Make sure you include <sys/types.h> before <sys/socket.h>.
> thank you very much... that was it.
> i wonder why didn't they #include <sys/types.h> inside sockets.h if it was
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.
More information about the freebsd-questions