diff options
author | Elijah Newren <newren@gmail.com> | 2018-08-15 10:54:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-15 11:52:09 -0700 |
commit | ef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch) | |
tree | fe44271647b22756c3d53225658287119a3c34cd /diffcore.h | |
parent | 1d89318c48d233d52f1db230cf622935ac3c69fa (diff) | |
download | git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.tar.gz |
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 'diffcore.h')
-rw-r--r-- | diffcore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/diffcore.h b/diffcore.h index a30da161da..0dd1e9a63a 100644 --- a/diffcore.h +++ b/diffcore.h @@ -4,6 +4,10 @@ #ifndef DIFFCORE_H #define DIFFCORE_H +#include "cache.h" + +struct diff_options; + /* This header file is internal between diff.c and its diff transformers * (e.g. diffcore-rename, diffcore-pickaxe). Never include this header * in anything else. |