diff --git a/src/global.c b/src/global.c index c72bfe890..f89c73256 100644 --- a/src/global.c +++ b/src/global.c @@ -19,7 +19,9 @@ git_mutex git__mwindow_mutex; #ifdef GIT_SSL # include SSL_CTX *git__ssl_ctx; +# ifdef GIT_THREADS static git_mutex *openssl_locks; +# endif #endif static git_global_shutdown_fn git__shutdown_callbacks[MAX_SHUTDOWN_CB];