mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-16 01:23:02 +00:00
Include libssh2.h before git2.h (transport.h)
This commit is contained in:
parent
268dafa260
commit
ae241ae129
@ -5,6 +5,10 @@
|
||||
* a Linking Exception. For full terms see the included COPYING file.
|
||||
*/
|
||||
|
||||
#ifdef GIT_SSH
|
||||
#include <libssh2.h>
|
||||
#endif
|
||||
|
||||
#include "git2.h"
|
||||
#include "buffer.h"
|
||||
#include "netops.h"
|
||||
@ -12,8 +16,6 @@
|
||||
|
||||
#ifdef GIT_SSH
|
||||
|
||||
#include <libssh2.h>
|
||||
|
||||
#define OWNING_SUBTRANSPORT(s) ((ssh_subtransport *)(s)->parent.subtransport)
|
||||
|
||||
static const char prefix_ssh[] = "ssh://";
|
||||
|
Loading…
Reference in New Issue
Block a user