1
0
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:
smlng 2016-11-16 18:50:49 +01:00
parent d31d3d5fb9
commit e9aba880cd

View File

@ -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>