Commit c07d9c95 by Vicent Marti

oid: Explicitly include `oid.h` for the inlined CMP

parent d7b3dab9
#include "repository.h" #include "repository.h"
#include "fileops.h" #include "fileops.h"
#include "config.h" #include "config.h"
#include "git2/oid.h"
#include <ctype.h> #include <ctype.h>
GIT__USE_STRMAP; GIT__USE_STRMAP;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "thread-utils.h" #include "thread-utils.h"
#include "util.h" #include "util.h"
#include "cache.h" #include "cache.h"
#include "git2/oid.h"
int git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_ptr) int git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_ptr)
{ {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
*/ */
#include "common.h" #include "common.h"
#include "git2/diff.h" #include "git2/diff.h"
#include "git2/oid.h"
#include "diff.h" #include "diff.h"
#include "fileops.h" #include "fileops.h"
#include "config.h" #include "config.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "git2/diff.h" #include "git2/diff.h"
#include "git2/attr.h" #include "git2/attr.h"
#include "git2/blob.h" #include "git2/blob.h"
#include "git2/oid.h"
#include "xdiff/xdiff.h" #include "xdiff/xdiff.h"
#include <ctype.h> #include <ctype.h>
#include "diff.h" #include "diff.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "tree-cache.h" #include "tree-cache.h"
#include "hash.h" #include "hash.h"
#include "git2/odb.h" #include "git2/odb.h"
#include "git2/oid.h"
#include "git2/blob.h" #include "git2/blob.h"
#include "git2/config.h" #include "git2/config.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "delta-apply.h" #include "delta-apply.h"
#include "git2/odb_backend.h" #include "git2/odb_backend.h"
#include "git2/oid.h"
#define GIT_ALTERNATES_FILE "info/alternates" #define GIT_ALTERNATES_FILE "info/alternates"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <git2/tag.h> #include <git2/tag.h>
#include <git2/object.h> #include <git2/object.h>
#include <git2/oid.h>
GIT__USE_STRMAP; GIT__USE_STRMAP;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "git2/config.h" #include "git2/config.h"
#include "git2/types.h" #include "git2/types.h"
#include "git2/oid.h"
#include "config.h" #include "config.h"
#include "repository.h" #include "repository.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment