From c9fdab0dabdf82546ff01f4903f15a615c5e25ca Mon Sep 17 00:00:00 2001 From: François Revol Date: Fri, 23 Mar 2007 22:01:37 +0000 Subject: 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 --- libavformat/network.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/network.h') 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 #include #include +#ifdef HAVE_ARPA_INET_H #include +#endif #include +#if !defined(HAVE_INET_ATON) +/* in os_support.c */ +int inet_aton (const char * str, struct in_addr * add); +#endif + #endif -- cgit v1.2.3