[FFmpeg-devel] [fixed] FreeBSD 8.1, --disable-network due to in.h not included.

Igor 'Lo' (И.L.) bombsiteunrested
Tue Sep 7 12:02:19 CEST 2010

Hi all.
Had fixed this:
 libavformat/udp.c:77: error: 'IPPROTO_IPV6' undeclared (first use in
this function)
by including netinet/in.h (mentioned here:
http://forums.freebsd.org/archive/index.php/t-5228.html ). Although it
#define __BSD_VISIBLE 1
defined somewhere, don't know where exactly - so just removed #ifdef
.. #endif from netinet/in.h, leading to successful build.

Shouldn't be udp.c and configure script fixed to include&define?

More information about the ffmpeg-devel mailing list