Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 14:33:54 +0100
From:      Josef Karthauser <joe@FreeBSD.org>
To:        current@FreeBSD.ORG
Subject:   /usr/include/sys/select.h:61: syntax error before "fd_set"
Message-ID:  <20020922133354.GA75271@genius.tao.org.uk>

next in thread | raw e-mail | index | archive | help

--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 AI=
X */
    #endif	/* HAVE_SYS_SELECT_H */

    #if HAVE_STRINGS_H
    #  include <strings.h>			/* For bzero() under AIX */
    #endif	/* HAVE_STRINGS_H */

    #if HAVE_LIBINTL_H
    #  include <libintl.h>		/* For i18n */
    #endif	/* HAVE_LIBINTL_H */

What header am I missing here?

Joe
--=20
"As far as the laws of mathematics refer to reality, they are not certain;
and as far as they are certain, they do not refer to reality." - Albert
Einstein, 1921

--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iEYEARECAAYFAj2NxsIACgkQXVIcjOaxUBa3nQCgyIixpEuIVDMucyH5bcWEIiwZ
Qk4AoKQJjzIhVGQd5OMEgiyU/88/i6ei
=/kAW
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--

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?20020922133354.GA75271>