]> 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:41:46 +0000 (20:41 +0200)
commite9739fbf587e1b0516fa47b9576cc8be8b514d21
tree8fe11fd0976c6f8f8f336f5da7da6b28142b242c
parent98e8dbbe3d0f8489fee0e814c57122097b16da20
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>
(cherry picked from commit ddb1f20a9ddbb94956c9f7b1115c89543d9b411a)
configure.ac
src/openvpn/syshead.h
src/openvpn/tun.c