aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/network.h
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-07 19:48:59 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-07 19:48:59 +0000
commitac11d562e51a7764abc20447303ce95225d07a0b (patch)
treea56482abec9b273fdb94c0f171faec90777eacb4 /libavformat/network.h
parentd1be963568824306ac8f826a89df98761f89c0e2 (diff)
downloadffmpeg-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.h5
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 {