From 84db0662071a6ab61ae21a5da35317d8aed55d75 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 13 Jul 2005 20:44:46 +0000 Subject: r8434: Win32 portability updates from Steven Edwards : - undefine anything in the win32 api or PSDK headers that Samba already defines - map BSD error codes to Winsock Error codes (This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9) --- source4/include/includes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/include/includes.h') diff --git a/source4/include/includes.h b/source4/include/includes.h index 5a86aa7218..00054b985d 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -68,6 +68,10 @@ #include #endif +#if defined(_MSC_VER) || defined(__MINGW32__) +#include "lib/replace/win32/replace.h" +#endif + /* we support ADS if we want it and have krb5 and ldap libs */ #if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP) #define HAVE_ADS -- cgit