diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Common.h | 2 | ||||
-rw-r--r-- | src/common/Logging/Logger.h | 1 | ||||
-rw-r--r-- | src/common/Utilities/StartProcess.h | 1 | ||||
-rw-r--r-- | src/server/database/Database/AdhocStatement.cpp | 1 | ||||
-rw-r--r-- | src/server/game/Entities/Object/Position.h | 2 | ||||
-rw-r--r-- | src/tools/mmaps_generator/PathCommon.h | 2 |
6 files changed, 7 insertions, 2 deletions
diff --git a/src/common/Common.h b/src/common/Common.h index 8b681af3054..dcbd246ebb3 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -30,7 +30,6 @@ # define BOOST_ASIO_HAS_MOVE # endif // !defined(BOOST_ASIO_HAS_MOVE) # endif // if TRINITY_COMPILER == TRINITY_COMPILER_INTEL - #else # include <sys/types.h> # include <sys/ioctl.h> @@ -38,6 +37,7 @@ # include <netinet/in.h> # include <unistd.h> # include <netdb.h> +# include <stdlib.h> #endif #if TRINITY_COMPILER == TRINITY_COMPILER_MICROSOFT diff --git a/src/common/Logging/Logger.h b/src/common/Logging/Logger.h index dabeb8ced3a..7aac15396f3 100644 --- a/src/common/Logging/Logger.h +++ b/src/common/Logging/Logger.h @@ -21,6 +21,7 @@ #include "Define.h" #include "LogCommon.h" #include <unordered_map> +#include <string> class Appender; struct LogMessage; diff --git a/src/common/Utilities/StartProcess.h b/src/common/Utilities/StartProcess.h index 249d4ebd47e..db81e130c17 100644 --- a/src/common/Utilities/StartProcess.h +++ b/src/common/Utilities/StartProcess.h @@ -22,6 +22,7 @@ #include <future> #include <memory> #include <vector> +#include <string> namespace Trinity { diff --git a/src/server/database/Database/AdhocStatement.cpp b/src/server/database/Database/AdhocStatement.cpp index 93862db2fb4..5eb5bcc456d 100644 --- a/src/server/database/Database/AdhocStatement.cpp +++ b/src/server/database/Database/AdhocStatement.cpp @@ -19,6 +19,7 @@ #include "Errors.h" #include "MySQLConnection.h" #include "QueryResult.h" +#include "StringFormat.h" #include <cstring> /*! Basic, ad-hoc queries. */ diff --git a/src/server/game/Entities/Object/Position.h b/src/server/game/Entities/Object/Position.h index 2a72653501a..74e1d7c6e42 100644 --- a/src/server/game/Entities/Object/Position.h +++ b/src/server/game/Entities/Object/Position.h @@ -22,6 +22,8 @@ #include <G3D/Vector3.h> +#include <cmath> + class ByteBuffer; struct TC_GAME_API Position diff --git a/src/tools/mmaps_generator/PathCommon.h b/src/tools/mmaps_generator/PathCommon.h index 041a1ee9ab1..5d81f09336c 100644 --- a/src/tools/mmaps_generator/PathCommon.h +++ b/src/tools/mmaps_generator/PathCommon.h @@ -30,7 +30,7 @@ #include <Windows.h> #endif -#ifdef __linux__ +#ifndef WIN32 #include <cerrno> #endif |