Add missing #defines used by fd_device.c.

This commit is contained in:
Guus Sliepen 2017-03-20 22:15:20 +01:00
parent 3fc678a8df
commit 26dc50599d

View file

@ -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