From: "Ronald S. Bultje" <[email protected]> This is required for gethostname. On windows, gethostname is provided by winsock2.h, which is included by network.h. --- libavformat/rtpdec.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index b3bce24..8d32497 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -26,7 +26,9 @@ #include "mpegts.h" #include "url.h" +#if HAVE_UNISTD_H #include <unistd.h> +#endif #include "network.h" #include "rtpdec.h" -- 1.7.9.4 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
