On Sat, Dec 27, 2014 at 03:13:00PM -0800, Stephen Hemminger wrote: > This is a patch to address the conflict between <net/ethernet.h> > and the definitions in <rte_ethdev.h>. It has two side effects > worth discussion: > 1. It forces inclusion of net/ethernet.h > 2. It has definition to deal with the differing structure elements > in the two versions of struct ether_addr. > > By doing this ether_ntoa and related functions can be used without > messing with prototypes. > > Alternative is more complex #ifdef magic like linux/libc-compat.h > > This seems like a reasonable fix for the problem, and nasty compat-work
Acked-by: Neil Horman <nhorman at tuxdriver.com>