docs: fix more missing includes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
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