Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
e6d190c7
Commit
e6d190c7
authored
Jul 23, 2012
by
Mat Booth
Committed by
Howard Chu
Jul 23, 2012
Browse files
ITS
#7332
Changes required to build with Microsoft Visual Studio
parent
832f7de6
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/ac/socket.h
View file @
e6d190c7
...
...
@@ -62,6 +62,7 @@
#ifdef HAVE_WINSOCK2
#include
<winsock2.h>
#include
<ws2tcpip.h>
#elif HAVE_WINSOCK
#include
<winsock.h>
#endif
...
...
libraries/libldap/ldap-int.h
View file @
e6d190c7
...
...
@@ -45,6 +45,9 @@
/* for struct timeval */
#include
<ac/time.h>
#ifdef _WIN32
#include
<ac/socket.h>
#endif
#undef TV2MILLISEC
#define TV2MILLISEC(tv) (((tv)->tv_sec * 1000) + ((tv)->tv_usec/1000))
...
...
libraries/libldap/util-int.c
View file @
e6d190c7
...
...
@@ -782,7 +782,9 @@ char *ldap_pvt_gai_strerror (int code) {
{
EAI_NONAME
,
N_
(
"Name or service not known"
)
},
{
EAI_SERVICE
,
N_
(
"Servname not supported for ai_socktype"
)
},
{
EAI_SOCKTYPE
,
N_
(
"ai_socktype not supported"
)
},
#ifdef EAI_SYSTEM
{
EAI_SYSTEM
,
N_
(
"System error"
)
},
#endif
{
0
,
NULL
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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