From owner-freebsd-questions Fri Jan 24 9:30:22 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EC3537B401 for ; Fri, 24 Jan 2003 09:30:20 -0800 (PST) Received: from smtp.kolej.mff.cuni.cz (smtp.kolej.mff.cuni.cz [195.113.25.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E7543ED8 for ; Fri, 24 Jan 2003 09:30:14 -0800 (PST) (envelope-from katus0bm@artax.karlin.mff.cuni.cz) X-Envelope-From: katus0bm@artax.karlin.mff.cuni.cz Received: from thundercross (thundercross.kolej.mff.cuni.cz [195.113.27.133]) by smtp.kolej.mff.cuni.cz (8.12.6/8.12.6) with ESMTP id h0OHU6oQ082597 for ; Fri, 24 Jan 2003 18:30:06 +0100 (CET) (envelope-from katus0bm@artax.karlin.mff.cuni.cz) Content-Type: text/plain; charset="us-ascii" From: slavomir katuscak To: freebsd-questions@freebsd.org Subject: problem with sys/select.h and sys/types.h Date: Fri, 24 Jan 2003 18:24:36 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301241824.36843.katus0bm@artax.karlin.mff.cuni.cz> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i found this problem (maybe bug) in freebsd 4.7 stable i have two programs uses sys/select.h and sys/types.h: example 1: #include #include int main(void) { } example 2: #include #include int main(void) { } first example returns this error messages: In file included from /usr/include/sys/select.h:40, from test.c:1: /usr/include/sys/event.h:52: syntax error before `uintptr_t' /usr/include/sys/event.h:54: syntax error before `u_short' In file included from pokus.c:1: /usr/include/sys/select.h:47: syntax error before `pid_t' but second is ok. i don't have tested this in 5.0 release yet. --=20 ----------------------------------------- Darklord - DT Project Manager & Developer E-mail: katus0bm@artax.karlin.mff.cuni.cz ----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message