Commit 0b1a75fd authored by Karl Heyes's avatar Karl Heyes

better fix for cases with missing inet_aton

svn path=/trunk/net/; revision=4500
parent 33bc36b3
......@@ -43,7 +43,7 @@ struct iovec
#endif
#endif
#ifdef HAVE_INET_PTON
#if !defined(HAVE_INET_ATON) && defined(HAVE_INET_PTON)
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment