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

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 3 18:47:51 UTC 2011


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.

-- 
vda


More information about the busybox mailing list