[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys/socket.h


On Mon, Sep 09, 2002 at 03:05:22PM +0200, Hannah Schroeter wrote:
> >	Compile some C source file in which #include <sys/socket.h> appears
> >before #include <sys/types.h>.
> AFAIK you're just not supposed to do this. I.e. you are supposed to
> #include <sys/types.h> before #include <sys/socket.h>

yep, this is documented in the man-pages, for example socket(2) (see SYNOPSIS).

pub  1024D/513AEFD9 1999-12-18 Hans-Joerg Hoexer 
Key fingerprint = 83D2 436A 0D3C 34A9 E0FF  4C33 35F6 617C 513A EFD9

Visit your host, monkey.org