summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h2
-rw-r--r--include/mysql.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 101156596dc..6735ae1aba1 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -27,7 +27,7 @@ functions */
#endif
#include <sys/locking.h>
-#include <windows.h>
+#include <winsock2.h>
#include <math.h> /* Because of rint() */
#include <fcntl.h>
#include <io.h>
diff --git a/include/mysql.h b/include/mysql.h
index aa54a62dca4..f76ae10ca16 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -42,7 +42,7 @@ extern "C" {
#ifndef _global_h /* If not standard header */
#include <sys/types.h>
#ifdef __LCC__
-#include <winsock.h> /* For windows */
+#include <winsock2.h> /* For windows */
#endif
typedef char my_bool;
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__WIN__)