From 95413709e41e1442ad51caa5e33b08ce6adb3887 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Nov 2013 01:58:56 +0300 Subject: fix compilation without C++11 flags. --- src/net/netconsts.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/netconsts.h') diff --git a/src/net/netconsts.h b/src/net/netconsts.h index 0af23b8a9..00c91fda5 100644 --- a/src/net/netconsts.h +++ b/src/net/netconsts.h @@ -21,7 +21,12 @@ #ifndef NET_NETCONSTS_H #define NET_NETCONSTS_H +#if defined(__GXX_EXPERIMENTAL_CXX0X__) #include +#else +#include +#endif + static const uint16_t DEFAULT_PORT = 6901; #endif // NET_NETCONSTS_H -- cgit v1.2.3-60-g2f50