summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-10-31 03:25:36 -0600
committerJunio C Hamano <gitster@pobox.com>2013-10-31 13:46:03 -0700
commit19ecb564ad15d6eb0544d11d808ca8dc9a198bdf (patch)
treee75be4336eedb95f894377e595967d93eb20db77
parent5a3fd6afd4a26accc20a58bf4980f296772be98a (diff)
downloadgit-19ecb564ad15d6eb0544d11d808ca8dc9a198bdf.tar.gz
revision: add missing include
Otherwise we might not have 'struct diff_options'. [jc: needs a matching follow-up patch to remove inclusion of diff.h from *.c files that do not themselves use anything from diff.h] Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index e7f1d211bf..89132df2fa 100644
--- a/revision.h
+++ b/revision.h
@@ -5,6 +5,7 @@
#include "grep.h"
#include "notes.h"
#include "commit.h"
+#include "diff.h"
#define SEEN (1u<<0)
#define UNINTERESTING (1u<<1)