]> git.ipfire.org Git - thirdparty/git.git/commitdiff
revision: add missing include
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 31 Oct 2013 09:25:36 +0000 (03:25 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Oct 2013 20:46:03 +0000 (13:46 -0700)
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>
revision.h

index e7f1d211bf0a203978a3024bcbae5c98f25c60cf..89132df2fa481ce6cdd142fa31f5b2cfd2f43219 100644 (file)
@@ -5,6 +5,7 @@
 #include "grep.h"
 #include "notes.h"
 #include "commit.h"
+#include "diff.h"
 
 #define SEEN           (1u<<0)
 #define UNINTERESTING   (1u<<1)