Subject: Re: sys/socket.h
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 04/07/2000 10:47:31
	I would guess you should include '<sys/types.h>' first


		David/absolute

On Thu, 6 Apr 2000, Patrick Welche wrote:

> I wrote a program which used to compile in January, but since I upgraded
> to 1.4U/i386, gives me errors, which you can see for yourself by trying
> to compile (cf netintro(4)):
> 
> #include <sys/socket.h>
> int main(){return 0;}
> 
> In file included from socket.c:1:
> /usr/include/sys/socket.h:182: syntax error before `u_char'
> ...
> 
> So something changed, but what?
> 
> Cheers,
> 
> Patrick
>