[PATCH 4/5] Gate including net/ethernet.h on HAVE_NET_ETHERNET_H

Dan Fandrich dan at coneharvesters.com
Fri Jun 3 23:58:46 UTC 2011


On Fri, Jun 03, 2011 at 08:47:51PM +0200, Denys Vlasenko wrote:
> On Wednesday 01 June 2011 22:36, Dan Fandrich wrote:
> > +#define HAVE_NET_ETHERNET_H 1
> 
> > +#ifdef HAVE_NET_ETHERNET_H
> >  #include <netpacket/packet.h>
> >  #include <net/ethernet.h>
> > +#endif
> 
> Please, use two separate HAVE_foo_H, one per each header.

I'll take a bit more of a look at this. I suspect that if I have to
add any more, I'll have to add at least five more.

>>> Dan


More information about the busybox mailing list