From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 05:48:51 2004 Return-Path: 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 230F916A4CE for ; Tue, 27 Jan 2004 05:48:51 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 195C443D60 for ; Tue, 27 Jan 2004 05:48:47 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i0RDmJ5O022246; Wed, 28 Jan 2004 00:48:19 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i0RDmHEf021532; Wed, 28 Jan 2004 00:48:18 +1100 Date: Wed, 28 Jan 2004 00:48:18 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Giovanni P. Tirloni" In-Reply-To: <20040127011923.GA76108@pixies.tirloni.org> Message-ID: <20040128004153.G6058@gamplex.bde.org> References: <20040127011923.GA76108@pixies.tirloni.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: ip.h parse error (gcc 3.3.3, 5.2-CURRENT, 2003/01/25) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 13:48:51 -0000 On Mon, 26 Jan 2004, Giovanni P. Tirloni wrote: > I'm getting an error while trying to compile a small piece of code of > mime that was compiling fine yesterday when the system was 5.1-RELEASE. > > These are the headers that I'm using: > > #include > #include > #include > #include > > The only error I get is this one: > > > gcc -o divert_exceeded divert_exceeded.c > In file included from divert_exceeded.c:4: > /usr/include/netinet/ip.h:164: error: syntax error before "n_long" > /usr/include/netinet/ip.h:167: error: syntax error before "n_long" I determined minimal prerequistes for most userland headers 4-5 years ago. was a prerequisite for then and this apparently hasn't changed. (Its other prerequisites are and which you already have.) Bruce