On 2002-09-22 14:33, Josef Karthauser <[EMAIL PROTECTED]> wrote:
> I'm trying to work out why the latest version of coldsync won't compile
> on -current, even though it compiles on -stable.
>
> I'm getting the compile time error:
>
>     /usr/include/sys/select.h:61: syntax error before "fd_set"
>
> The coldsync header file looks like:
>
>     #include "config.h"
>     #include <stdio.h>
>     #include <unistd.h>
>     #include <stdlib.h>
>
>     #if  HAVE_SYS_SELECT_H
>     #  include <sys/select.h>         /* To make select() work rationally under AIX 
>*/
>     #endif    /* HAVE_SYS_SELECT_H */

The select() manpage mentions the following headers, in the order
shown below:

     #include <sys/types.h>
     #include <sys/time.h>
     #include <unistd.h>

You have only included the last one.

Giorgos.

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

Reply via email to