From owner-freebsd-stable Sat Apr 29 0:50:19 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rjk191.rh.psu.edu (RJK191.rh.psu.edu [128.118.193.182]) by hub.freebsd.org (Postfix) with ESMTP id 4F7E137B76B for ; Sat, 29 Apr 2000 00:50:16 -0700 (PDT) (envelope-from ray@rjk191.rh.psu.edu) Received: (from ray@localhost) by rjk191.rh.psu.edu (8.9.3/8.9.3) id DAA91611 for freebsd-stable@freebsd.org; Sat, 29 Apr 2000 03:50:10 -0400 (EDT) (envelope-from ray) Date: Sat, 29 Apr 2000 03:50:09 -0400 From: Ray Kohler To: freebsd-stable@freebsd.org Subject: Re: syntax errors in netinet/in.h Message-ID: <20000429035009.A91597@rjk191.rh.psu.edu> Reply-To: rjk191@psu.edu References: <20000429003113.A65770@rjk191.rh.psu.edu> <20000429064542.K17098@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 in your program before > . Which function are you using whose manpage doesn't > state to include before ? 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 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 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