diff options
author | Michael Schubert <schu@schu.io> | 2012-08-04 15:22:38 +0200 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-08-04 15:30:28 +0200 |
commit | 7e9f78b5fee2d8f56711a587c35fcba10d370547 (patch) | |
tree | 2af356a1b2fa5839d7d36f380188e54884ad3585 | |
parent | 5daca042c642bf123f0b0a39c1ad32ca0afcac70 (diff) | |
download | libgit2-7e9f78b5fee2d8f56711a587c35fcba10d370547.tar.gz |
remote: add missing include git2/remote.h
Otherwise we get an incomplete type error, since git_remote_callbacks
isn't declared yet.
-rw-r--r-- | src/fetch.c | 1 | ||||
-rw-r--r-- | src/remote.c | 1 | ||||
-rw-r--r-- | src/remote.h | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/fetch.c b/src/fetch.c index f8f853fef..d96ac7781 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -5,7 +5,6 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#include "git2/remote.h" #include "git2/oid.h" #include "git2/refs.h" #include "git2/revwalk.h" diff --git a/src/remote.c b/src/remote.c index 948da12b1..adbfdc437 100644 --- a/src/remote.c +++ b/src/remote.c @@ -5,7 +5,6 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#include "git2/remote.h" #include "git2/config.h" #include "git2/types.h" diff --git a/src/remote.h b/src/remote.h index 5083b9912..67933a327 100644 --- a/src/remote.h +++ b/src/remote.h @@ -7,6 +7,8 @@ #ifndef INCLUDE_remote_h__ #define INCLUDE_remote_h__ +#include "git2/remote.h" + #include "refspec.h" #include "transport.h" #include "repository.h" |