summary refs log tree commit diff
path: root/resolve-undo.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-08-15 10:54:05 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-15 11:52:09 -0700
commitef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch)
treefe44271647b22756c3d53225658287119a3c34cd /resolve-undo.h
parent1d89318c48d233d52f1db230cf622935ac3c69fa (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 'resolve-undo.h')
-rw-r--r--resolve-undo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolve-undo.h b/resolve-undo.h
index 87291904bd..fbe348efac 100644
--- a/resolve-undo.h
+++ b/resolve-undo.h
@@ -1,6 +1,8 @@
 #ifndef RESOLVE_UNDO_H
 #define RESOLVE_UNDO_H
 
+#include "cache.h"
+
 struct resolve_undo_info {
 	unsigned int mode[3];
 	struct object_id oid[3];