]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use OPENVPN_ETH_P_* so that <netinet/if_ether.h> is unecessary
authorFelix Janda <felix.janda@posteo.de>
Sat, 16 May 2015 13:59:50 +0000 (15:59 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 16 May 2015 18:40:53 +0000 (20:40 +0200)
commitddb1f20a9ddbb94956c9f7b1115c89543d9b411a
tree98fd01ca862d347bc8d3205fb89508cfcc01c7af
parent2d321609674a916c8cd7bbf0090e0342e90cca36
Use OPENVPN_ETH_P_* so that <netinet/if_ether.h> is unecessary

Fixes compilation error on linux with musl libc because of
conflicting ethhdr declarations in <netinet/if_ether.h> and
<linux/if_ether.h> which is included from <linux/if_tun.h>

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20150516134604.GA2302@euler>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9690
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/openvpn/syshead.h
src/openvpn/tun.c