From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 18:27:28 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 D45D716A4CE for ; Tue, 27 Jan 2004 18:27:28 -0800 (PST) Received: from pixies.tirloni.org (pixies.tirloni.org [200.203.183.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6FB143D31 for ; Tue, 27 Jan 2004 18:27:27 -0800 (PST) (envelope-from tirloni@tirloni.org) Received: by pixies.tirloni.org (Postfix, from userid 1000) id D8FCA1E214D; Wed, 28 Jan 2004 00:27:22 -0200 (BRST) Date: Wed, 28 Jan 2004 00:27:19 -0200 From: "Giovanni P. Tirloni" To: Bruce Evans Message-ID: <20040128022717.GB22606@pixies.tirloni.org> References: <20040127011923.GA76108@pixies.tirloni.org> <20040128004153.G6058@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20040128004153.G6058@gamplex.bde.org> X-Info: http://www.tirloni.org User-Agent: Mutt/1.5.5.1i 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: Wed, 28 Jan 2004 02:27:28 -0000 * Bruce Evans (bde@zeta.org.au) wrote: > > > 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.) Adding in_systm.h fixed it, thanks. I was following the man pages divert(4), bind(2), socket(2), etc. -- Giovanni P. Tirloni Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26