summaryrefslogtreecommitdiff
path: root/convert.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-08-15 17:54:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-15 18:52:09 (GMT)
commitef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch)
treefe44271647b22756c3d53225658287119a3c34cd /convert.h
parent1d89318c48d233d52f1db230cf622935ac3c69fa (diff)
downloadgit-ef3ca95475ce467ae883cc8175ed40e6f7d27800.zip
git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.tar.gz
git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.tar.bz2
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 'convert.h')
-rw-r--r--convert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/convert.h b/convert.h
index 01385d9..76c6543 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 */