Martin Storsjö <[email protected]> writes:

> From: "Ronald S. Bultje" <[email protected]>
>
> unistd.h used to be required for gethostname. On windows, gethostname
> is provided by winsock2.h. Now network.h includes both unistd.h and
> winsock2.h if they exist.
> ---
>  libavformat/rtpdec.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
> index b3bce24..87d9255 100644
> --- a/libavformat/rtpdec.c
> +++ b/libavformat/rtpdec.c
> @@ -26,7 +26,6 @@
>  #include "mpegts.h"
>  #include "url.h"
>
> -#include <unistd.h>
>  #include "network.h"
>
>  #include "rtpdec.h"
> -- 

LGTM

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to