From a15c550db8b0552902e58c9bf2194005fb7fb0e9 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 16 Nov 2011 14:09:44 +0100 Subject: threads: Fix the shared global state with TLS See `global.c` for a description of what we're doing. When libgit2 is built with GIT_THREADS support, the threading system must be explicitly initialized with `git_threads_init()`. --- include/git2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/git2.h') diff --git a/include/git2.h b/include/git2.h index ad92809bb..14c090e39 100644 --- a/include/git2.h +++ b/include/git2.h @@ -11,6 +11,7 @@ #include "git2/version.h" #include "git2/common.h" +#include "git2/threads.h" #include "git2/errors.h" #include "git2/zlib.h" -- cgit v1.2.1