Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 03:50:09 -0400
From:      Ray Kohler <ray@rjk191.rh.psu.edu>
To:        freebsd-stable@freebsd.org
Subject:   Re: syntax errors in netinet/in.h
Message-ID:  <20000429035009.A91597@rjk191.rh.psu.edu>
In-Reply-To: <20000429064542.K17098@strontium.scientia.demon.co.uk>; from ben@scientia.demon.co.uk on Sat, Apr 29, 2000 at 06:45:42AM %2B0100
References:  <20000429003113.A65770@rjk191.rh.psu.edu> <20000429064542.K17098@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2000 at 06:45:42AM +0100, Ben Smithurst wrote:
> Ray Kohler wrote:
> 
> > Today I discovered that there is something missing from
> > netinet/in.h. Including it in anything causes errors, due to it not
> > knowing about u_int32_t. I would guess that something needs to be
> > included here, but I don't know the include tree well enough to
> > figure out what, not to mention, I certainly can't fix it for
> > everybody else. Anyone want to fix this?
> 
> I think you'll need to #include <sys/types.h> in your program before
> <netinet/in.h>.  Which function are you using whose manpage doesn't
> state to include <sys/types.h> before <netinet/in.h>?  That manpage
> would probably require fixing if there is such an example.

I was trying to compile wine, and wrote a small test program that
included <netinet/in.h> without using anything in it because I
wanted to investigate some compile errors with wine. It turns out
that the problem there was that the files were included in the wrong
order, anyway.

-- 
Ray Kohler <rjk191@psu.edu>
FreeBSD -- The Power to Serve
"The sooner all the animals are dead, the sooner we'll find their
money."
		-- Ed Bluestone, "The National Lampoon"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000429035009.A91597>