Thanks Nsz !


On Sat, Nov 2, 2013 at 7:07 PM, Szabolcs Nagy <nsz@port70.net> wrote:
* Paul Schutte <sjpschutte@gmail.com> [2013-11-02 13:18:41 +0000]:
> I am trying to compile openvpn against musl and I get the following:
>
> In file included from /usr/include/linux/if_tun.h:20:0,
>                  from syshead.h:222,
>                  from base64.c:40:
> /usr/include/linux/if_ether.h:127:8: error: redefinition of 'struct ethhdr'
> /usr/include/netinet/if_ether.h:93:8: note: originally defined here
>

yes this was reported earlier but it was not addressed

there is no clean solution: netinet/if_ether.h should include
linux/if_ether.h so they don't conflict, but then it cannot be
used without the kernel headers

> I can get it to work by just removing the netinet/if_ether.h part, but
> maybe it is something worthy of your attention.

netinet/if_ether.h has additional interfaces over the linux/if_ether.h
ones, so this does not work in general