Add missing #defines used by fd_device.c.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Mar 2017 21:15:20 +0000 (22:15 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Mar 2017 21:15:20 +0000 (22:15 +0100)
src/ethernet.h

index 2165c51..0b4a1db 100644 (file)
 #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