aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Database')
-rw-r--r--src/server/shared/Database/MySQLConnection.cpp3
-rwxr-xr-xsrc/server/shared/Database/QueryResult.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp
index 9fe720bf1d1..ca06dca14c6 100644
--- a/src/server/shared/Database/MySQLConnection.cpp
+++ b/src/server/shared/Database/MySQLConnection.cpp
@@ -19,6 +19,9 @@
#include "Common.h"
+#ifdef _WIN32
+ #include <winsock2.h>
+#endif
#include <mysql.h>
#include "DatabaseEnv.h"
diff --git a/src/server/shared/Database/QueryResult.h b/src/server/shared/Database/QueryResult.h
index d87551996f5..5dfb03a1a16 100755
--- a/src/server/shared/Database/QueryResult.h
+++ b/src/server/shared/Database/QueryResult.h
@@ -28,10 +28,8 @@
#ifdef _WIN32
#include <winsock2.h>
- #include <mysql.h>
-#else
- #include <mysql/mysql.h>
#endif
+#include <mysql.h>
class QueryResult
{