This fixes building with gcrypt-backed gnutls versions, broken in 57cde2b180. --- libavformat/tls_gnutls.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c index 1d3f57c..4fe3b39 100644 --- a/libavformat/tls_gnutls.c +++ b/libavformat/tls_gnutls.c @@ -36,6 +36,12 @@ #include "libavutil/parseutils.h" #if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00 +#if HAVE_PTHREADS +#include <pthread.h> +#else +#include "compat/w32pthreads.h" +#endif + #include <gcrypt.h> GCRY_THREAD_OPTION_PTHREAD_IMPL; #endif -- 2.3.2 (Apple Git-55) _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel