diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-13 20:44:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:02 -0500 |
commit | 84db0662071a6ab61ae21a5da35317d8aed55d75 (patch) | |
tree | 2a5e6d65b28acc82cad1da3ec9287bb21c54e3b0 /source4/include | |
parent | 0639fe016e56ccd84b05da678219d8bb6c68432c (diff) | |
download | samba-84db0662071a6ab61ae21a5da35317d8aed55d75.tar.gz samba-84db0662071a6ab61ae21a5da35317d8aed55d75.tar.bz2 samba-84db0662071a6ab61ae21a5da35317d8aed55d75.zip |
r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- 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)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <windows.h> #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 |