summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-20 12:41:32 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-20 12:41:32 -0700
commit5ade03446430f1190fdf1eca8b8fde5f63367110 (patch)
treeba0c1878e9d5c96cfcb9668a3756a80b73600789 /config.h
parent36f0f344e71b928d47871e39fcef1908cb47c47b (diff)
parent1076f1e454dae338cee8e48f3e69b58181e5e10a (diff)
downloadgit-5ade03446430f1190fdf1eca8b8fde5f63367110.tar.gz
Merge branch 'en/incl-forward-decl'
Code hygiene improvement for the header files. * en/incl-forward-decl: Remove forward declaration of an enum compat/precompose_utf8.h: use more common include guard style urlmatch.h: fix include guard Move definition of enum branch_track from cache.h to branch.h alloc: make allocate_alloc_state and clear_alloc_state more consistent Add missing includes and forward declarations
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index 2d5c18b05f..ab46e0165d 100644
--- a/config.h
+++ b/config.h
@@ -1,6 +1,11 @@
#ifndef CONFIG_H
#define CONFIG_H
+#include "hashmap.h"
+#include "string-list.h"
+
+struct object_id;
+
/* git_config_parse_key() returns these negated: */
#define CONFIG_INVALID_KEY 1
#define CONFIG_NO_SECTION_OR_NAME 2