[Ffmpeg-devel] More of the BeOS fixes...
Alex Beregszaszi
alex
Fri Mar 9 15:34:27 CET 2007
Hi,
> >> > Index: libavformat/network.h
> >> > ==================================================================> > ---
> >> libavformat/network.h (revision 8296)
> >> > +++ libavformat/network.h (working copy)
> >> > @@ -24,7 +24,22 @@
> >> > #include <sys/types.h>
> >> > #include <sys/socket.h>
> >> > #include <netinet/in.h>
> >> > +#ifdef HAVE_ARPA_INET_H
> >> > #include <arpa/inet.h>
> >> > +#else
> >> > +# if !defined(HAVE_INET_ATON)
> >> > +/* in os_support.c */
> >> > +int inet_aton (const char * str, struct in_addr * add);
> >> > +# endif
> >> > +#endif
> >>
> >> The existence of arpa/inet.h and inet_aton are independent.
> >
> > Right, they are supposed to be declared in, but some other OS probably
> > declare it elsewhere...
> > Thing is the configure check is actually broken on BeOS-BONE, because
> > it is actually __inet_aton, so it fails to link to it while it actually
> > exists. I can probably fake the check instead in configure.
>
> This could easily be #defined in config.h. Would this mean that we no longer
> need the replacement implementation?
No, its still missing in MinGW.
--
Alex Beregszaszi
More information about the ffmpeg-devel
mailing list