From 4883dd7ab5b00eecab25666ba0a73e048a4a024f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Jun 2016 22:36:19 +0300 Subject: Fix compilation with old compilers and without C++11 flags. --- src/net/ea/chatrecv.h | 2 ++ src/net/ea/traderecv.h | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/src/net/ea/chatrecv.h b/src/net/ea/chatrecv.h index 07efc1e99..374d6c12a 100644 --- a/src/net/ea/chatrecv.h +++ b/src/net/ea/chatrecv.h @@ -27,6 +27,8 @@ #if defined(__APPLE__) #include #endif // defined(__APPLE__) +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +#include #endif // defined(__GXX_EXPERIMENTAL_CXX0X__) #include diff --git a/src/net/ea/traderecv.h b/src/net/ea/traderecv.h index c4ded8aa7..a1f7976fb 100644 --- a/src/net/ea/traderecv.h +++ b/src/net/ea/traderecv.h @@ -23,6 +23,14 @@ #ifndef NET_EA_TRADERECV_H #define NET_EA_TRADERECV_H +#if defined(__GXX_EXPERIMENTAL_CXX0X__) +#if defined(__APPLE__) +#include +#endif // defined(__APPLE__) +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +#include +#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) + #include namespace Net -- cgit v1.2.3-70-g09d2