Commit 9a09ed13c4b545adde4a768bd62c325d05621c36

Edward Thomson 2015-01-26T11:21:04

Merge pull request #2840 from swisspol/sys_repository_include Make sure sys/repository.h includes the required headers

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/git2/sys/repository.h b/include/git2/sys/repository.h
index dd7b22e..082a844 100644
--- a/include/git2/sys/repository.h
+++ b/include/git2/sys/repository.h
@@ -7,6 +7,9 @@
 #ifndef INCLUDE_sys_git_repository_h__
 #define INCLUDE_sys_git_repository_h__
 
+#include "git2/common.h"
+#include "git2/types.h"
+
 /**
  * @file git2/sys/repository.h
  * @brief Git repository custom implementation routines