Date: Fri, 14 Jan 2000 09:06:44 +1300 From: Jonathan Chen <jonc@logisticsoftware.co.nz> To: Cliff Addy <fbsdlist@federation.addy.com> Cc: questions@FreeBSD.ORG Subject: Re: sys/socket.h errors? Message-ID: <20000114090644.A316@jonc.logisticsoftware.co.nz> In-Reply-To: <Pine.BSF.4.10.10001131453550.89787-100000@federation.addy.com>; from fbsdlist@federation.addy.com on Thu, Jan 13, 2000 at 02:59:25PM -0500 References: <Pine.BSF.4.10.10001131453550.89787-100000@federation.addy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 13, 2000 at 02:59:25PM -0500, Cliff Addy wrote:
> I'm trying to recompile a program written on a 2.2.2-release system on a
> 3.3-release machine. However, I get multiple parse errors when including
> sys/socket.h, such as:
>
> /usr/include/sys/socket.h:139: parse error before `u_char'
> /usr/include/sys/socket.h:139: warning: no semicolon at end of struct or
> union
You need to #include <sys/types.h> before <sys/socket.h>
Jonathan Chen
--------------------------------------------------------------------
"Lots of folks confuse bad management with destiny"
- Kin Hubbard
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000114090644.A316>
