--- embedaddon/mpd/src/util.h 2013/07/22 08:44:29 1.1.1.2 +++ embedaddon/mpd/src/util.h 2016/11/01 09:56:12 1.1.1.3 @@ -11,7 +11,8 @@ #define _UTIL_H_ #include "ip.h" - +#include +#include /*- * The following macro is used to update an * internet checksum. "acc" is a 32-bit @@ -97,5 +98,8 @@ extern int GetPeerEther(struct u_addr *addr, struct sockaddr_dl *hwaddr); extern void ppp_util_ascify(char *buf, size_t max, const char *bytes, size_t len); +#ifndef HAVE_NTOA_R + extern char *ether_ntoa_r(const struct ether_addr *n, char *a); +#endif #endif