> 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
> altogether?
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
systems).
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/
georg.schwarz@freenet.de +49 178 8545053