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
20273e4d
Commit
20273e4d
authored
Mar 03, 2015
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2934 from akikoskinen/mingw_build_fix
Fix build on mingw (master branch)
parents
018fdbb5
45df2237
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
src/common.h
+1
-0
src/openssl_stream.c
+10
-7
No files found.
src/common.h
View file @
20273e4d
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
# include <direct.h>
# include <direct.h>
# include <winsock2.h>
# include <winsock2.h>
# include <windows.h>
# include <windows.h>
# include <ws2tcpip.h>
# include "win32/msvc-compat.h"
# include "win32/msvc-compat.h"
# include "win32/mingw-compat.h"
# include "win32/mingw-compat.h"
# include "win32/error.h"
# include "win32/error.h"
...
...
src/openssl_stream.c
View file @
20273e4d
...
@@ -7,14 +7,7 @@
...
@@ -7,14 +7,7 @@
#ifdef GIT_SSL
#ifdef GIT_SSL
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/x509v3.h>
#include <ctype.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "global.h"
#include "global.h"
#include "posix.h"
#include "posix.h"
...
@@ -23,6 +16,16 @@
...
@@ -23,6 +16,16 @@
#include "netops.h"
#include "netops.h"
#include "git2/transport.h"
#include "git2/transport.h"
#ifndef GIT_WIN32
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
#endif
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/x509v3.h>
static
int
ssl_set_error
(
SSL
*
ssl
,
int
error
)
static
int
ssl_set_error
(
SSL
*
ssl
,
int
error
)
{
{
int
err
;
int
err
;
...
...
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