summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h8
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