From 26dc50599d6e38be1e7304602ffea0ba282c1091 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 20 Mar 2017 22:15:20 +0100 Subject: [PATCH] Add missing #defines used by fd_device.c. --- src/ethernet.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ethernet.h b/src/ethernet.h index 2165c51..0b4a1db 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 -- 2.25.1