]> git.sur5r.net Git - openldap/commitdiff
MSVC compatibility
authorHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 08:06:49 +0000 (08:06 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 08:06:49 +0000 (08:06 +0000)
libraries/libldap_r/thr_nt.c

index a3b622c5b92292cdf4ef5c87304d4dcba5692fda..8bae80e9a73d438ed65907f3dcb3e5b8b87b0b35 100644 (file)
 
 #if defined( HAVE_NT_THREADS )
 
+#define _WIN32_WINNT 0x0400
+#include <windows.h>
+#include <process.h>
+
 #include "ldap_pvt_thread.h" /* Get the thread interface */
 #define LDAP_THREAD_IMPLEMENTATION
 #include "ldap_thr_debug.h"     /* May rename the symbols defined below */