Commit 18cf389c by Jacques Germishuys Committed by Vicent Marti

Include libssh2.h before git2.h (transport.h)

parent dbcb7518
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#ifdef GIT_SSH
#include <libssh2.h>
#endif
#include "git2.h" #include "git2.h"
#include "buffer.h" #include "buffer.h"
#include "netops.h" #include "netops.h"
...@@ -12,8 +16,6 @@ ...@@ -12,8 +16,6 @@
#ifdef GIT_SSH #ifdef GIT_SSH
#include <libssh2.h>
#define OWNING_SUBTRANSPORT(s) ((ssh_subtransport *)(s)->parent.subtransport) #define OWNING_SUBTRANSPORT(s) ((ssh_subtransport *)(s)->parent.subtransport)
static const char prefix_ssh[] = "ssh://"; static const char prefix_ssh[] = "ssh://";
......
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