mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 20:02:04 +00:00
remote: add missing include git2/remote.h
Otherwise we get an incomplete type error, since git_remote_callbacks isn't declared yet.
This commit is contained in:
parent
5daca042c6
commit
7e9f78b5fe
@ -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 @@
|
|||||||
* 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 @@
|
|||||||
#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"
|
||||||
|
Loading…
Reference in New Issue
Block a user