From: Guus Sliepen Date: Mon, 20 Mar 2017 21:15:20 +0000 (+0100) Subject: Add missing #defines used by fd_device.c. X-Git-Tag: release-1.1pre15~42 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=26dc50599d6e38be1e7304602ffea0ba282c1091;p=tinc Add missing #defines used by fd_device.c. --- diff --git a/src/ethernet.h b/src/ethernet.h index 2165c51e..0b4a1db0 100644 --- a/src/ethernet.h +++ b/src/ethernet.h @@ -25,6 +25,15 @@ #define ETH_ALEN 6 #endif +#ifndef ETH_HLEN +#define ETH_HLEN 14 +#endif + +#ifndef ETHER_TYPE_LEN +#define ETHER_TYPE_LEN 2 +#endif + + #ifndef ARPHRD_ETHER #define ARPHRD_ETHER 1 #endif