Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
18cf389c
Commit
18cf389c
authored
Jul 03, 2014
by
Jacques Germishuys
Committed by
Vicent Marti
Aug 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include libssh2.h before git2.h (transport.h)
parent
dbcb7518
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/transports/ssh.c
+4
-2
No files found.
src/transports/ssh.c
View file @
18cf389c
...
@@ -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://"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment