From a88135b713a0beaddc37a7f75a11a8a351d804a5 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Tue, 12 Dec 2023 16:05:19 -0800 Subject: [PATCH] Fixed missing ARPHRD_IEEE802 when compiling for iOS. --- net_adapter_mac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net_adapter_mac.c b/net_adapter_mac.c index bf5bf90..b49d3f6 100644 --- a/net_adapter_mac.c +++ b/net_adapter_mac.c @@ -10,7 +10,8 @@ #ifdef HAVE_NET_IF_ARP_H # include #else -# define ARPHRD_ETHER 1 // Ethernet hardware format +# define ARPHRD_ETHER 1 // Ethernet hardware format +# define ARPHRD_IEEE802 6 // Token-ring hardware format #endif #include #include