mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
better fix for cases with missing inet_aton
svn path=/trunk/net/; revision=4500
This commit is contained in:
parent
33bc36b3f5
commit
0b1a75fd31
@ -43,7 +43,7 @@ struct iovec
|
|||||||
#endif
|
#endif
|
||||||
#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))
|
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user