Commit 73f0278e5dd9cdb52c46df73daee8c517bba72fe

Edward Thomson 2014-12-23T16:40:01

global: include sys/openssl.h for GIT_EXPORT of fn The openssl setup function needs to be GIT_EXPORT'ed, be sure to include the `sys/openssl.h` header so that it is appropriately decorated as an export function.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/global.c b/src/global.c
index f79bfd3..fcbcbb1 100644
--- a/src/global.c
+++ b/src/global.c
@@ -9,6 +9,7 @@
 #include "hash.h"
 #include "sysdir.h"
 #include "git2/global.h"
+#include "git2/sys/openssl.h"
 #include "thread-utils.h"