From f10939c01e18b471d544c7263f07b7280b6ece3e Mon Sep 17 00:00:00 2001 From: Thomas Eichinger Date: Wed, 1 Jul 2015 15:59:21 +0200 Subject: [PATCH] cpu/native: add conditional include on OS X for IFNAMSIZ --- cpu/native/include/dev_eth_tap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/native/include/dev_eth_tap.h b/cpu/native/include/dev_eth_tap.h index 16175d7c48..dcf707a848 100644 --- a/cpu/native/include/dev_eth_tap.h +++ b/cpu/native/include/dev_eth_tap.h @@ -30,6 +30,10 @@ extern "C" { #include "net/if.h" +#ifdef __MACH__ +#include "net/if_var.h" +#endif + /** * @brief tap interface state */