roken: declare rk_freeifaddrs() prototype if using system ifaddrs.h

This commit is contained in:
Luke Howard
2023-01-07 20:22:04 +11:00
parent 69b417e915
commit d33e3b0523

View File

@@ -53,6 +53,11 @@ struct mbuf;
#include <ifaddrs.h>
#ifdef HAVE_IFADDRS_H
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
rk_freeifaddrs(struct ifaddrs *ifp);
#endif
#ifdef __hpux
#define lifconf if_laddrconf
#define lifc_len iflc_len