[libgit2-glib] Make sure to include libssh2 before git2
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Make sure to include libssh2 before git2
- Date: Wed, 10 Sep 2014 09:26:51 +0000 (UTC)
commit f31983e217974d75a75ed4987858d938c3b816cb
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Sep 10 11:26:30 2014 +0200
Make sure to include libssh2 before git2
libgit2-glib/ggit-cred-ssh-interactive.c | 4 ++++
libgit2-glib/ggit-cred-ssh-key-from-agent.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-cred-ssh-interactive.c b/libgit2-glib/ggit-cred-ssh-interactive.c
index ac5dcea..050d2e9 100644
--- a/libgit2-glib/ggit-cred-ssh-interactive.c
+++ b/libgit2-glib/ggit-cred-ssh-interactive.c
@@ -18,6 +18,10 @@
* along with libgit2-glib. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef GIT_SSH
+#include <libssh2.h>
+#endif
+
#include <git2.h>
#include <gio/gio.h>
diff --git a/libgit2-glib/ggit-cred-ssh-key-from-agent.c b/libgit2-glib/ggit-cred-ssh-key-from-agent.c
index 10b4dc5..96a7a4d 100644
--- a/libgit2-glib/ggit-cred-ssh-key-from-agent.c
+++ b/libgit2-glib/ggit-cred-ssh-key-from-agent.c
@@ -18,6 +18,10 @@
* along with libgit2-glib. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef GIT_SSH
+#include <libssh2.h>
+#endif
+
#include <git2.h>
#include <gio/gio.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]