--- src/tlsgnutlsclient.cpp.orig 2014-06-02 01:05:53.000000000 +0200 +++ src/tlsgnutlsclient.cpp 2014-06-02 01:07:38.000000000 +0200 @@ -20,6 +20,8 @@ #ifdef HAVE_PTHREAD extern "C" { +#include <pthread.h> + GCRY_THREAD_OPTION_PTHREAD_IMPL; } #endif