From owner-freebsd-current Sun Dec 8 7:31:10 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 DD9A637B401 for ; Sun, 8 Dec 2002 07:31:08 -0800 (PST) Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B51F43E4A for ; Sun, 8 Dec 2002 07:31:07 -0800 (PST) (envelope-from sv@astral.ntu-kpi.kiev.ua) Received: from astral.ntu-kpi.kiev.ua (if100Mbit.astral.ntu-kpi.kiev.ua [10.100.5.14]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id D1F0B19B85; Sun, 8 Dec 2002 17:31:04 +0200 (EET) Received: from astral.ntu-kpi.kiev.ua (localhost [127.0.0.1]) by astral.ntu-kpi.kiev.ua (8.12.6/8.12.6) with ESMTP id gB8ERjsN001362; Sun, 8 Dec 2002 16:27:46 +0200 (EET) (envelope-from sv@astral.ntu-kpi.kiev.ua) Received: (from sv@localhost) by astral.ntu-kpi.kiev.ua (8.12.6/8.12.6/Submit) id gB8ERisu001361; Sun, 8 Dec 2002 16:27:44 +0200 (EET) Date: Sun, 8 Dec 2002 16:27:44 +0200 From: "Vasyl S. Smirnov" To: Marc Recht , freebsd-current@FreeBSD.ORG Subject: Re: sys/file.h and POSIX Message-ID: <20021208142743.GA1195@astral.ntu-kpi.kiev.ua> References: <509390000.1039349835@leeloo.intern.geht.de> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline In-Reply-To: <509390000.1039349835@leeloo.intern.geht.de> X-Operating-System: FreeBSD 4.7-STABLE User-Agent: Mutt/1.5.1i 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 Sun, Dec 08, 2002 at 01:17:15PM +0100, Marc Recht wrote: > Hi! > > While compiling some third-party code I got this: > gcc -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE_=600 > -D_XOPEN_SOURCE_EXTENDED=1 test.c > In file included from test.c:2: > /usr/include/sys/file.h:130: syntax error before "u_int" > > This makes me wonder a bit.. Shouldn't the header at least be includeable ? > Eg. setting __BSD_VISIBLE around xfile ? The same thing with sys/vmmeter.h My previous post about bubblemon-dockapp build failure was actually about this missing header sv -- [LPML-2001] [KPI-PMA] [FreeBSD] [NIN] ************************************* GPG fingerprint: 7175 B841 C13D 9FE6 BDE0 C5E3 1652 7026 0A30 1CED Mail me with subject GPG-GETKEY to get my public key. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message