From deea7b553087f56cfe86738149290646494c2fc3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 14 Sep 2006 08:06:49 +0000 Subject: [PATCH] MSVC compatibility --- libraries/libldap_r/thr_nt.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5