diff options
author | François Revol <revol@free.fr> | 2007-03-23 22:01:37 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2007-03-23 22:01:37 +0000 |
commit | c9fdab0dabdf82546ff01f4903f15a615c5e25ca (patch) | |
tree | 5f0f40b93f459b2be1ee31995f9215d61e83fc5f /libavformat/network.h | |
parent | 56cc42664a23bc15c1d581a5ad30098ac188369e (diff) | |
download | ffmpeg-c9fdab0dabdf82546ff01f4903f15a615c5e25ca.tar.gz |
Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed.
Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index b67b9b1364..3aa8ba8367 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -24,7 +24,14 @@ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> +#endif #include <netdb.h> +#if !defined(HAVE_INET_ATON) +/* in os_support.c */ +int inet_aton (const char * str, struct in_addr * add); +#endif + #endif |