summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-03-22 23:27:21 +0100
committerEtienne Samson <samson.etienne@gmail.com>2018-05-07 21:50:15 +0200
commit96576372fd2dd89edc5939f87c72907aa2d92909 (patch)
treed453d3c486a2b475f0508c2dafb713d5aa22d98e
parent84bcae6c08384ce32ab77a7b5b48098925b61918 (diff)
downloadlibgit2-96576372fd2dd89edc5939f87c72907aa2d92909.tar.gz
docs: fix more missing includes
-rw-r--r--include/git2/rebase.h2
-rw-r--r--include/git2/status.h2
-rw-r--r--include/git2/sys/index.h3
-rw-r--r--include/git2/sys/merge.h5
4 files changed, 12 insertions, 0 deletions
diff --git a/include/git2/rebase.h b/include/git2/rebase.h
index 9b9065ee4..3aefe2643 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 4b86818b7..87bad2221 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 2e2b87e68..f1900df42 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 eed106c07..271527d8e 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