diff options
| author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-11 19:29:52 +0200 | 
|---|---|---|
| committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-11 19:29:52 +0200 | 
| commit | 1885395551fb9a34145e9e242754ba3b2a9aa09e (patch) | |
| tree | 34df0b947fa64133818e3e1c29f31a87d14b900f /src | |
| parent | 9a1a5a1c0ad0e42ad2cb897e7248638634aaef5a (diff) | |
macaddr: Use the BSD code for Darwin as well
It simply compiles, no other testing has been done.
Diffstat (limited to 'src')
| -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> | 
