getifaddrs: add un-namespaced alias
. needed for security/heimdal, needed for git Change-Id: I8638945dffd0abffd487c47281ad7616da1b70db
This commit is contained in:
parent
3e1db26a5a
commit
8ebdbed79c
@ -18,6 +18,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <ifaddrs.h>
|
||||
|
||||
#if defined(__weak_alias)
|
||||
__weak_alias(getifaddrs,_getifaddrs)
|
||||
__weak_alias(freeifaddrs,_freeifaddrs)
|
||||
#endif
|
||||
|
||||
int
|
||||
getifaddrs(struct ifaddrs **ifap)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user