Subject: Re: could you please test patch for devel/libnet?
To: Todd Vierling <email@example.com>
From: Georg Schwarz <firstname.lastname@example.org>
Date: 03/21/2005 22:31:56
> On Sun, 20 Mar 2005, Georg Schwarz wrote:
> > > #ifndef IRIX
> > > #include <netinet/ip_var.h>
> > > #endif
> > > #include <netinet/if_ether.h>
> > >
> > > (Replace IRIX by the appropriate macro.)
> > well, it is not an IRIX-specific problem. Rather it is a problem of
> > netinet/ip_var.h being included twice on anything but Linux
> > (see include/libnet.h).
> If it's really being included twice, why not nuke the #include line
I basically did :-)
If you look at include/libnet.h you will see that it is included twice
except when (__linux__) is defined nonzero (i.e. probably on Linux
If someone can confirm that it is not needed on Linux it could of course
be nuked altogether.
Georg Schwarz http://home.pages.de/~schwarz/
email@example.com +49 178 8545053