posix/osx: fix missing AF_LINK on OSX native
netdev_tap.c uses AF_LINK when compiled on OSX native. Preparation to remove NATIVEINCLUDES.
This commit is contained in:
parent
dcebfb11bc
commit
b5554bcc1f
@ -36,6 +36,9 @@
|
||||
sa_family_t sa_prefix##family
|
||||
|
||||
#define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int))
|
||||
#ifdef __MACH__
|
||||
#define AF_LINK (18) /* Link layer interface */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user