Skip to content
Snippets Groups Projects
Commit b5554bcc authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

posix/osx: fix missing AF_LINK on OSX native

netdev_tap.c uses AF_LINK when compiled on OSX native.

Preparation to remove NATIVEINCLUDES.
parent dcebfb11
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
sa_family_t sa_prefix##family sa_family_t sa_prefix##family
#define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int)) #define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int))
#ifdef __MACH__
#define AF_LINK (18) /* Link layer interface */
#endif
#endif #endif
#include <stdlib.h> #include <stdlib.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment