(inet_aton): also chedk NEED_INET_ATON_PROTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5268 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -234,8 +234,7 @@ char *hstrerror(int herr);
|
|||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_INET_ATON
|
#if !defined(HAVE_INET_ATON) || defined(NEED_INET_ATON_PROTO)
|
||||||
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
|
||||||
int inet_aton(const char *cp, struct in_addr *adr);
|
int inet_aton(const char *cp, struct in_addr *adr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user