Subject: Re: Build failure - port amd64 - ip_auth.o
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 05/03/2007 15:03:37
On Thu, May 03, 2007 at 09:56:22PM +0200, Martin Husemann wrote:
> On Thu, May 03, 2007 at 01:25:40PM -0500, David Young wrote:
> > I guess it is IP Filter's definition of offsetof(),
> > 
> > % grep '^#define[[:space:]]\+offsetof(' ../../dist/ipf/netinet/*
> > ../../dist/ipf/netinet/ip_fil.h:#define offsetof(t,m)   (int)((&((t *)0L)->m))
> 
> I guess we should #ifndef that definition...

It already is.  I believe it is necessary to #include <stddef.h> or
something In an Appropriate Place.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933