diff options
author | David Conrad <lessen42@gmail.com> | 2010-03-07 19:48:59 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-03-07 19:48:59 +0000 |
commit | ac11d562e51a7764abc20447303ce95225d07a0b (patch) | |
tree | a56482abec9b273fdb94c0f171faec90777eacb4 /libavformat/network.h | |
parent | d1be963568824306ac8f826a89df98761f89c0e2 (diff) | |
download | ffmpeg-ac11d562e51a7764abc20447303ce95225d07a0b.tar.gz |
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index 796d44ae5f..53bb9c07c7 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -63,10 +63,7 @@ static inline void ff_network_close(void) #endif } -#if !HAVE_INET_ATON -/* in os_support.c */ -int inet_aton (const char * str, struct in_addr * add); -#endif +int ff_inet_aton (const char * str, struct in_addr * add); #if !HAVE_STRUCT_SOCKADDR_STORAGE struct sockaddr_storage { |