aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMarco Ebert <marco_ebert@icloud.com>2017-05-13 21:09:46 +0200
committerMarco Ebert <marco_ebert@icloud.com>2017-05-13 21:11:57 +0200
commit6e2a911f6d84dd0e94f8c9de5bad5d514a3cc19e (patch)
tree21941b22b91f4360f318b88e0e849626aaaff390 /src/common
parentae5696ef2b670e0aa547839a691ab8a375515559 (diff)
Fix non-PCH build.
Your ad here.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Common.h2
-rw-r--r--src/common/Logging/Logger.h1
-rw-r--r--src/common/Utilities/StartProcess.h1
3 files changed, 3 insertions, 1 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
{