On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:

> this code:
> #include <stdio.h>
> #include <stdlib.h>
> #include <sys/socket.h>
> #include <sys/types.h>

[snip]

You have an ordering problem with the headers. You MUST #include <sys/types.h>
first. The man page says so :)

>
> produces this error when compiled:

[lots of errors snipped]

fix the order with the includes and try again.



                        Fer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to