diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-06-30 13:27:26 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-07-03 08:51:47 +0000 |
commit | 0fb4b3519c32914073016f566555286c10e80fac (patch) | |
tree | a8ba7a6cac1132d4195e362b7cef2c59c0af4b75 /src/fetch.h | |
parent | 9b0482e4d455cfa040f1e4c8fc2935d6866d72c7 (diff) | |
download | libgit2-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/fetch.h')
-rw-r--r-- | src/fetch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h index 0412d4e44..4cdbf3b95 100644 --- a/src/fetch.h +++ b/src/fetch.h @@ -7,6 +7,8 @@ #ifndef INCLUDE_fetch_h__ #define INCLUDE_fetch_h__ +#include "git2/remote.h" + #include "netops.h" int git_fetch_negotiate(git_remote *remote, const git_fetch_options *opts); |