mirror of https://gerrit.osmocom.org/libosmocore
macaddr: Use the BSD code for Darwin as well
It simply compiles, no other testing has been done.
This commit is contained in:
parent
9a1a5a1c0a
commit
1885395551
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue