Skip to content

Commit

Permalink
Fixed missing ARPHRD_IEEE802 when compiling for iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 13, 2023
1 parent 4737a3f commit a88135b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net_adapter_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
#ifdef HAVE_NET_IF_ARP_H
# include <net/if_arp.h>
#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 <net/if_dl.h>
#include <sys/sysctl.h>
Expand Down

0 comments on commit a88135b

Please sign in to comment.