diff options
Diffstat (limited to 'src/server/database/PrecompiledHeaders/databasePCH.h')
-rw-r--r-- | src/server/database/PrecompiledHeaders/databasePCH.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/server/database/PrecompiledHeaders/databasePCH.h b/src/server/database/PrecompiledHeaders/databasePCH.h index 39701ca8ca9..015b163e82b 100644 --- a/src/server/database/PrecompiledHeaders/databasePCH.h +++ b/src/server/database/PrecompiledHeaders/databasePCH.h @@ -1,15 +1,29 @@ +/* + * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include "Define.h" #include "Errors.h" #include "Field.h" #include "Log.h" #include "MySQLConnection.h" +#include "MySQLWorkaround.h" #include "PreparedStatement.h" #include "QueryResult.h" #include "SQLOperation.h" #include "Transaction.h" -#ifdef _WIN32 // hack for broken mysql.h not including the correct winsock header for SOCKET definition, fixed in 5.7 -#include <winsock2.h> -#endif -#include <mysql.h> #include <string> #include <vector> |