From: Howard Chu Date: Thu, 14 Sep 2006 08:06:49 +0000 (+0000) Subject: MSVC compatibility X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~139 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=deea7b553087f56cfe86738149290646494c2fc3;p=openldap MSVC compatibility --- diff --git a/libraries/libldap_r/thr_nt.c b/libraries/libldap_r/thr_nt.c index a3b622c5b9..8bae80e9a7 100644 --- a/libraries/libldap_r/thr_nt.c +++ b/libraries/libldap_r/thr_nt.c @@ -18,6 +18,10 @@ #if defined( HAVE_NT_THREADS ) +#define _WIN32_WINNT 0x0400 +#include +#include + #include "ldap_pvt_thread.h" /* Get the thread interface */ #define LDAP_THREAD_IMPLEMENTATION #include "ldap_thr_debug.h" /* May rename the symbols defined below */