diff options
author | click <none@none> | 2010-08-26 16:40:28 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-26 16:40:28 +0200 |
commit | 3c027962ba861076932792c0714d3dbbb37c9c14 (patch) | |
tree | 62c10ab82574d750f271fd73263de8ccc93d7587 /src/server/shared/Database/MySQLConnection.cpp | |
parent | 692779f2830cc9c14eb07cb70908694b3c5ad75a (diff) |
Buildsystem/Core: Adjust MySQL headers on relevant files to use simplified #include <mysql.h> instead of <mysql/mysql.h>
+ add support for compiling under MacOSX (thanks to elegos for the research)
NOTE: G3D requires a redefinition-hack under OSX, please see wiki for this info (dep-sources will not be changed)
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/Database/MySQLConnection.cpp')
-rw-r--r-- | src/server/shared/Database/MySQLConnection.cpp | 3 |
1 files changed, 3 insertions, 0 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" |