mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
No longer needs <windows.h>
This commit is contained in:
parent
304a57740a
commit
58cede64c1
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,6 @@
|
|||
/* $OpenLDAP$ */
|
||||
#include "portable.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef HAVE_WINSOCK2
|
||||
#include <winsock2.h>
|
||||
#elif HAVE_WINSOCK
|
||||
|
|
@ -92,6 +90,8 @@ char *ber_pvt_wsa_last_errstring( void )
|
|||
return ber_pvt_wsa_err2string( WSAGetLastError() );
|
||||
}
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
char *GetErrorString( int err )
|
||||
{
|
||||
static char msgBuf[1024];
|
||||
|
|
|
|||
Loading…
Reference in a new issue