summaryrefslogtreecommitdiff
path: root/src/diff_tform.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-30 13:27:26 +0200
committerPatrick Steinhardt <ps@pks.im>2017-07-03 08:51:47 +0000
commit0fb4b3519c32914073016f566555286c10e80fac (patch)
treea8ba7a6cac1132d4195e362b7cef2c59c0af4b75 /src/diff_tform.h
parent9b0482e4d455cfa040f1e4c8fc2935d6866d72c7 (diff)
downloadlibgit2-0fb4b3519c32914073016f566555286c10e80fac.tar.gz
Fix missing include for header files
Some of our header files are not included at all by any of their implementing counter-parts. Including them inside of these files leads to some compile errors mostly due to unknown types because of missing includes. But there's also one case where a declared function does not match the implementation's prototype. Fix all these errors by fixing up the prototype and adding missing includes. This is preparatory work for fixing up missing includes in the implementation files.
Diffstat (limited to 'src/diff_tform.h')
-rw-r--r--src/diff_tform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/diff_tform.h b/src/diff_tform.h
index 5bd9712d9..dbb4b5455 100644
--- a/src/diff_tform.h
+++ b/src/diff_tform.h
@@ -7,6 +7,8 @@
#ifndef INCLUDE_diff_tform_h__
#define INCLUDE_diff_tform_h__
+#include "diff_file.h"
+
extern int git_diff_find_similar__hashsig_for_file(
void **out, const git_diff_file *f, const char *path, void *p);