libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

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:
Msrc/daemon/https/tls/gnutls_global.h | 3+++
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;