Use inet_pton() instead of inet_aton() and include a version from

BIND for those without it.
This commit is contained in:
Todd C. Miller
2014-02-05 10:00:07 -07:00
parent 91141e5cc1
commit 85598f77b2
11 changed files with 314 additions and 100 deletions

View File

@@ -443,5 +443,8 @@ long long rpl_strtonum(const char *, long long, long long, const char **);
# endif
int clock_gettime(clockid_t clock_id, struct timespec *tp);
#endif
#ifndef HAVE_INET_PTON
int inet_pton(int af, const char *src, void *dst);
#endif
#endif /* _SUDO_MISSING_H */