Fix a sparse "symbol not declared" warning In particular, the git__delta_apply() function has not been declared prior to it's definition. In order to suppress the warning, include the delta-apply.h header which provides the public interface. This ensures that the declaration and definition are consistent. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
diff --git a/src/delta-apply.c b/src/delta-apply.c
index f924461..4852017 100644
--- a/src/delta-apply.c
+++ b/src/delta-apply.c
@@ -1,5 +1,6 @@
#include "common.h"
#include "git/odb.h"
+#include "delta-apply.h"
/*
* This file was heavily cribbed from BinaryDelta.java in JGit, which