getifaddrs: add un-namespaced alias

. needed for security/heimdal, needed for git

Change-Id: I8638945dffd0abffd487c47281ad7616da1b70db
This commit is contained in:
Ben Gras 2013-01-24 21:52:48 +00:00
parent 3e1db26a5a
commit 8ebdbed79c

View File

@ -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)
{