Module: libav
Branch: master
Commit: d4d90504a687d2c0ef77ccf11d831f24dcff9cf1

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Thu May 28 10:18:49 2015 +0300

tls_gnutls: Add missing includes for the gcrypt thread safety callbacks

This fixes building with gcrypt-backed gnutls versions, broken
in 57cde2b180.

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavformat/tls_gnutls.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
index 1d3f57c..0fade36 100644
--- a/libavformat/tls_gnutls.c
+++ b/libavformat/tls_gnutls.c
@@ -37,6 +37,7 @@
 
 #if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00
 #include <gcrypt.h>
+#include "libavutil/thread.h"
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 #endif
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to