Commit 7e9f78b5 by Michael Schubert

remote: add missing include git2/remote.h

Otherwise we get an incomplete type error, since git_remote_callbacks
isn't declared yet.
parent 5daca042
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#include "git2/remote.h"
#include "git2/oid.h" #include "git2/oid.h"
#include "git2/refs.h" #include "git2/refs.h"
#include "git2/revwalk.h" #include "git2/revwalk.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#include "git2/remote.h"
#include "git2/config.h" #include "git2/config.h"
#include "git2/types.h" #include "git2/types.h"
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#ifndef INCLUDE_remote_h__ #ifndef INCLUDE_remote_h__
#define INCLUDE_remote_h__ #define INCLUDE_remote_h__
#include "git2/remote.h"
#include "refspec.h" #include "refspec.h"
#include "transport.h" #include "transport.h"
#include "repository.h" #include "repository.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment