Date: Sun, 22 Sep 2002 17:10:08 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Josef Karthauser <joe@FreeBSD.ORG> Cc: current@FreeBSD.ORG Subject: Re: /usr/include/sys/select.h:61: syntax error before "fd_set" Message-ID: <20020922141008.GD496@hades.hell.gr> In-Reply-To: <20020922133354.GA75271@genius.tao.org.uk> References: <20020922133354.GA75271@genius.tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-09-22 14:33, Josef Karthauser <joe@FreeBSD.ORG> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020922141008.GD496>
