diff options
-rw-r--r-- | src/macaddr.c | 2 |
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> |