commit 2056b9d360ab5724db56b31d7aef74e5ec5ed80d
parent 04c1bc852573ae5abf66df086242e1ad52545a7a
Author: Nils Durner <durner@gnunet.org>
Date: Wed, 25 Mar 2009 20:42:34 +0000
#include pthreads (thanks to Brecht Sanders)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/daemon/https/tls/gnutls_global.h b/src/daemon/https/tls/gnutls_global.h
@@ -27,6 +27,9 @@
#include "MHD_config.h"
#include <libtasn1.h>
+#undef HAVE_CONFIG_H
+#include <pthread.h>
+#define HAVE_CONFIG_H 1
/* this mutex is used to synchronize threads attempting to call MHD__gnutls_global_init / MHD__gnutls_global_deinit */
extern pthread_mutex_t MHD_gnutls_init_mutex;