aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/PrecompiledHeaders/databasePCH.h
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-06-19 23:20:06 -0300
committerariel- <ariel-@users.noreply.github.com>2017-06-19 23:20:06 -0300
commit85a7d5ce9ac68b30da2277cc91d4b70358f1880d (patch)
treedf3d2084ee2e35008903c03178039b9c986e2d08 /src/server/database/PrecompiledHeaders/databasePCH.h
parent052fc24315ace866ea1cf610e85df119b68100c9 (diff)
Core: ported headers cleanup from master branch
Diffstat (limited to 'src/server/database/PrecompiledHeaders/databasePCH.h')
-rw-r--r--src/server/database/PrecompiledHeaders/databasePCH.h55
1 files changed, 32 insertions, 23 deletions
diff --git a/src/server/database/PrecompiledHeaders/databasePCH.h b/src/server/database/PrecompiledHeaders/databasePCH.h
index d524d52ade0..ee6a852f6e0 100644
--- a/src/server/database/PrecompiledHeaders/databasePCH.h
+++ b/src/server/database/PrecompiledHeaders/databasePCH.h
@@ -1,23 +1,32 @@
-#include "Config.h"
-#include "Database/AdhocStatement.h"
-#include "Database/DatabaseEnv.h"
-#include "Database/DatabaseLoader.h"
-#include "Database/DatabaseWorker.h"
-#include "Database/DatabaseWorkerPool.h"
-#include "Database/Field.h"
-#include "Database/MySQLConnection.h"
-#include "Database/MySQLThreading.h"
-#include "Database/PreparedStatement.h"
-#include "Database/QueryHolder.h"
-#include "Database/QueryResult.h"
-#include "Database/SQLOperation.h"
-#include "Database/Transaction.h"
-#include "Logging/Appender.h"
-#include "Logging/AppenderConsole.h"
-#include "Logging/AppenderDB.h"
-#include "Logging/AppenderFile.h"
-#include "Logging/Log.h"
-#include "Logging/LogOperation.h"
-#include "Logging/Logger.h"
-#include "Updater/DBUpdater.h"
-#include "Updater/UpdateFetcher.h"
+/*
+ * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
+ *
+ * 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 "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>