mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
native: fix netdev2_tap for macOS
This commit is contained in:
parent
d31d3d5fb9
commit
e9aba880cd
@ -29,9 +29,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __MACH__
|
||||
#define _POSIX_C_SOURCE
|
||||
#include <net/if.h>
|
||||
#undef _POSIX_C_SOURCE
|
||||
#include <sys/types.h>
|
||||
#include <ifaddrs.h>
|
||||
#include <net/if_dl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user