Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 06:45:42 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        rjk191@psu.edu
Cc:        freebsd-stable@freebsd.org
Subject:   Re: syntax errors in netinet/in.h
Message-ID:  <20000429064542.K17098@strontium.scientia.demon.co.uk>
In-Reply-To: <20000429003113.A65770@rjk191.rh.psu.edu>
References:  <20000429003113.A65770@rjk191.rh.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


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?20000429064542.K17098>