Mercurial > libavformat.hg
diff network.h @ 5766:a292ef47e2f9 libavformat
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
| author | conrad |
|---|---|
| date | Sun, 07 Mar 2010 19:48:59 +0000 |
| parents | a3e321e7ca38 |
| children | 1c93ef22cea6 |
line wrap: on
line diff
--- a/network.h Sun Mar 07 08:52:53 2010 +0000 +++ b/network.h Sun Mar 07 19:48:59 2010 +0000 @@ -63,10 +63,7 @@ #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 {
