mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
better fix for cases with missing inet_aton
svn path=/trunk/net/; revision=4500
This commit is contained in:
parent
d0cf9fe000
commit
1ff64d456e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user