Commit 96576372fd2dd89edc5939f87c72907aa2d92909

Etienne Samson 2018-03-22T23:27:21

docs: fix more missing includes

diff --git a/include/git2/rebase.h b/include/git2/rebase.h
index 9b9065e..3aefe26 100644
--- a/include/git2/rebase.h
+++ b/include/git2/rebase.h
@@ -11,6 +11,8 @@
 #include "types.h"
 #include "oid.h"
 #include "annotated_commit.h"
+#include "merge.h"
+#include "checkout.h"
 
 /**
  * @file git2/rebase.h
diff --git a/include/git2/status.h b/include/git2/status.h
index 4b86818..87bad22 100644
--- a/include/git2/status.h
+++ b/include/git2/status.h
@@ -9,6 +9,8 @@
 
 #include "common.h"
 #include "types.h"
+#include "strarray.h"
+#include "diff.h"
 
 /**
  * @file git2/status.h
diff --git a/include/git2/sys/index.h b/include/git2/sys/index.h
index 2e2b87e..f1900df 100644
--- a/include/git2/sys/index.h
+++ b/include/git2/sys/index.h
@@ -7,6 +7,9 @@
 #ifndef INCLUDE_sys_git_index_h__
 #define INCLUDE_sys_git_index_h__
 
+#include "git2/common.h"
+#include "git2/types.h"
+
 /**
  * @file git2/sys/index.h
  * @brief Low-level Git index manipulation routines
diff --git a/include/git2/sys/merge.h b/include/git2/sys/merge.h
index eed106c..271527d 100644
--- a/include/git2/sys/merge.h
+++ b/include/git2/sys/merge.h
@@ -7,6 +7,11 @@
 #ifndef INCLUDE_sys_git_merge_h__
 #define INCLUDE_sys_git_merge_h__
 
+#include "git2/common.h"
+#include "git2/types.h"
+#include "git2/index.h"
+#include "git2/merge.h"
+
 /**
  * @file git2/sys/merge.h
  * @brief Git merge driver backend and plugin routines