Subject: Re: sys/socket.h
To: Patrick Welche <>
From: Manuel Bouyer <>
List: current-users
Date: 04/07/2000 09:19:18
On Thu, Apr 06, 2000 at 10:13:49PM +0100, 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?

I don't know what changed but it seems you need to include sys/types.h before
sys/socket.h now.

Manuel Bouyer, LIP6, Universite Paris VI.