Skip to content

Commit

Permalink
Fixes compilation issue on macOS due to specific headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
3wnbr1 committed Dec 11, 2018
1 parent 886319a commit bdb06d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ifaces.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@
#define ARPOP_REPLY 2
#endif


#ifdef __APPLE__
#define SIOCGIFHWADDR SIOCGIFCONF
#define ifr_hwaddr ifr_addr
#endif


/* Shitty globals */
Expand Down

0 comments on commit bdb06d9

Please sign in to comment.