Browse Source

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>
tags/n2.7
Martin Storsjö 10 years ago
parent
commit
d4d90504a6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/tls_gnutls.c

+ 1
- 0
libavformat/tls_gnutls.c View File

@@ -37,6 +37,7 @@


#if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00 #if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00
#include <gcrypt.h> #include <gcrypt.h>
#include "libavutil/thread.h"
GCRY_THREAD_OPTION_PTHREAD_IMPL; GCRY_THREAD_OPTION_PTHREAD_IMPL;
#endif #endif




Loading…
Cancel
Save