tls_gnutls: Add missing includes for the gcrypt thread safety callbacks
authorMartin Storsjö <martin@martin.st>
Thu, 28 May 2015 07:18:49 +0000 (10:18 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 28 May 2015 12:05:52 +0000 (15:05 +0300)
This fixes building with gcrypt-backed gnutls versions, broken
in 57cde2b180.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tls_gnutls.c

index 1d3f57c..0fade36 100644 (file)
@@ -37,6 +37,7 @@
 
 #if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00
 #include <gcrypt.h>
+#include "libavutil/thread.h"
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 #endif