Commit 2376fa6c65a80e23d24393328212a80765d7ba94

Etienne Samson 2019-06-13T19:42:55

indexer: correct missing includes Docurium seems to choke on this header because it can't see both git_indexer_progress & git_indexer_progress_cb, let's add the include.

diff --git a/include/git2/odb.h b/include/git2/odb.h
index de60106..e8824b7 100644
--- a/include/git2/odb.h
+++ b/include/git2/odb.h
@@ -11,6 +11,7 @@
 #include "types.h"
 #include "oid.h"
 #include "oidarray.h"
+#include "indexer.h"
 
 /**
  * @file git2/odb.h
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h
index 8d1401a..47e0dd4 100644
--- a/include/git2/odb_backend.h
+++ b/include/git2/odb_backend.h
@@ -9,6 +9,7 @@
 
 #include "common.h"
 #include "types.h"
+#include "indexer.h"
 
 /**
  * @file git2/backend.h
diff --git a/include/git2/pack.h b/include/git2/pack.h
index de29831..08d2caf 100644
--- a/include/git2/pack.h
+++ b/include/git2/pack.h
@@ -9,6 +9,7 @@
 
 #include "common.h"
 #include "oid.h"
+#include "indexer.h"
 
 /**
  * @file git2/pack.h