summaryrefslogtreecommitdiff
path: root/libavformat/tls_gnutls.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-05-28 10:18:49 +0300
committerMartin Storsjö <martin@martin.st>2015-05-28 15:05:52 +0300
commitd4d90504a687d2c0ef77ccf11d831f24dcff9cf1 (patch)
tree96700604602cbc3de5eba881436f7492e048082a /libavformat/tls_gnutls.c
parentdd4d709be705edaec0bc35c426bf8434e942b7df (diff)
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/tls_gnutls.c')
-rw-r--r--libavformat/tls_gnutls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
index 1d3f57cb35..0fade36ed6 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