Commit ce8822cb409917d0201f359cabe3ae55d25895da

Carlos Martín Nieto 2014-11-15T20:45:17

Merge pull request #2707 from swisspol/fix_include Fixed git2.h not including threads.h anymore

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/include/git2.h b/include/git2.h
index 388cd82..b36bb53 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -24,6 +24,7 @@
 #include "git2/diff.h"
 #include "git2/errors.h"
 #include "git2/filter.h"
+#include "git2/global.h"
 #include "git2/graph.h"
 #include "git2/ignore.h"
 #include "git2/index.h"
@@ -56,7 +57,7 @@
 #include "git2/status.h"
 #include "git2/submodule.h"
 #include "git2/tag.h"
-#include "git2/global.h"
+#include "git2/threads.h"
 #include "git2/transport.h"
 #include "git2/tree.h"
 #include "git2/types.h"