From 7e9f78b5fee2d8f56711a587c35fcba10d370547 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Sat, 4 Aug 2012 15:22:38 +0200 Subject: [PATCH] remote: add missing include git2/remote.h Otherwise we get an incomplete type error, since git_remote_callbacks isn't declared yet. --- src/fetch.c | 1 - src/remote.c | 1 - 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"