From 18cf389c88cf12e2274c10fa95ad8c7504436827 Mon Sep 17 00:00:00 2001 From: Jacques Germishuys Date: Thu, 3 Jul 2014 20:20:00 +0200 Subject: Include libssh2.h before git2.h (transport.h) --- src/transports/ssh.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/transports/ssh.c b/src/transports/ssh.c index 79a632bd..a1081b3f 100644 --- a/src/transports/ssh.c +++ b/src/transports/ssh.c @@ -5,6 +5,10 @@ * a Linking Exception. For full terms see the included COPYING file. */ +#ifdef GIT_SSH +#include +#endif + #include "git2.h" #include "buffer.h" #include "netops.h" @@ -12,8 +16,6 @@ #ifdef GIT_SSH -#include - #define OWNING_SUBTRANSPORT(s) ((ssh_subtransport *)(s)->parent.subtransport) static const char prefix_ssh[] = "ssh://"; -- cgit v1.2.1