diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-12 10:46:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:41 -0500 |
commit | 15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9 (patch) | |
tree | 9c41593a2124b1d6e17a0443384923ec590e3c23 /source4/include/includes.h | |
parent | 51a3cfe35eca4b4793811d70877ca243f810a31e (diff) | |
download | samba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.tar.gz samba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.tar.bz2 samba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.zip |
r6752: Patch by Steven Edwards to improve portability to mingw32
(This used to be commit 8d63cd33a223cccb21d808747e9c97da53629fbc)
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r-- | source4/include/includes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index 65cbd1b777..a72a961495 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -70,6 +70,14 @@ #include <varargs.h> #endif +#ifdef HAVE_WINSOCK2_H +#include <winsock2.h> +#endif + +#ifdef HAVE_WINDOWS_H +#include <windows.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 |