From owner-freebsd-current Sun Sep 22 7:10:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE60837B401 for ; Sun, 22 Sep 2002 07:10:12 -0700 (PDT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 12AA743E42 for ; Sun, 22 Sep 2002 07:10:11 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 5816 invoked from network); 22 Sep 2002 14:03:19 -0000 Received: from upnet-dialinpool-31.upatras.gr (HELO hades.hell.gr) (150.140.128.223) by nic.upatras.gr with SMTP; 22 Sep 2002 14:03:19 -0000 Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.3) with ESMTP id g8MEAADu000815; Sun, 22 Sep 2002 17:10:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.3/Submit) id g8MEA9RV000814; Sun, 22 Sep 2002 17:10:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 22 Sep 2002 17:10:08 +0300 From: Giorgos Keramidas To: Josef Karthauser Cc: current@FreeBSD.ORG Subject: Re: /usr/include/sys/select.h:61: syntax error before "fd_set" Message-ID: <20020922141008.GD496@hades.hell.gr> References: <20020922133354.GA75271@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020922133354.GA75271@genius.tao.org.uk> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-09-22 14:33, Josef Karthauser 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 > #include > #include > > #if HAVE_SYS_SELECT_H > # include /* 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 #include #include 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