diff options
author | Elijah Newren <newren@gmail.com> | 2018-08-15 20:54:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-15 21:52:09 +0300 |
commit | ef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch) | |
tree | fe44271647b22756c3d53225658287119a3c34cd /config.h | |
parent | 1d89318c48d233d52f1db230cf622935ac3c69fa (diff) |
Add missing includes and forward declarations
I looped over the toplevel header files, creating a temporary two-line C
program for each consisting of
#include "git-compat-util.h"
#include $HEADER
This patch is the result of manually fixing errors in compiling those
tiny programs.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |