summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/macaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macaddr.c b/src/macaddr.c
index 59c481f7..a6e1304a 100644
--- a/src/macaddr.c
+++ b/src/macaddr.c
@@ -47,7 +47,7 @@ int osmo_macaddr_parse(uint8_t *out, const char *in)
return 0;
}
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__APPLE__)
#include <sys/socket.h>
#include <sys/types.h>
#include <ifaddrs.h>