diff options
Diffstat (limited to 'third_party/cgit')
-rw-r--r-- | third_party/cgit/cgit.h | 2 | ||||
-rw-r--r-- | third_party/cgit/scan-tree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/cgit/cgit.h b/third_party/cgit/cgit.h index a284af9aedec..f201f82b855f 100644 --- a/third_party/cgit/cgit.h +++ b/third_party/cgit/cgit.h @@ -6,7 +6,6 @@ #include <git-compat-util.h> #include <archive.h> -#include <cache.h> #include <commit.h> #include <diffcore.h> #include <diff.h> @@ -19,6 +18,7 @@ #include <object.h> #include <object-name.h> #include <object-store.h> +#include <path.h> #include <refs.h> #include <revision.h> #include <setup.h> diff --git a/third_party/cgit/scan-tree.c b/third_party/cgit/scan-tree.c index 1e3b43debf5b..aa9366542694 100644 --- a/third_party/cgit/scan-tree.c +++ b/third_party/cgit/scan-tree.c @@ -54,7 +54,7 @@ static void scan_tree_repo_config(const char *name, const char *value) config_fn(repo, name, value); } -static int gitconfig_config(const char *key, const char *value, void *cb) +static int gitconfig_config(const char *key, const char *value, const struct config_context *, void *cb) { const char *name; |