From ef3ca95475ce467ae883cc8175ed40e6f7d27800 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Wed, 15 Aug 2018 10:54:05 -0700 Subject: 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 Signed-off-by: Junio C Hamano --- convert.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'convert.h') diff --git a/convert.h b/convert.h index 01385d9288..76c654385d 100644 --- a/convert.h +++ b/convert.h @@ -7,6 +7,8 @@ #include "string-list.h" struct index_state; +struct object_id; +struct strbuf; #define CONV_EOL_RNDTRP_DIE (1<<0) /* Die if CRLF to LF to CRLF is different */ #define CONV_EOL_RNDTRP_WARN (1<<1) /* Warn if CRLF to LF to CRLF is different */ -- cgit v1.2.3