summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/netconsts.h5
1 files changed, 5 insertions, 0 deletions
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 <cstdint>
+#else
+#include <stdint.h>
+#endif
+
static const uint16_t DEFAULT_PORT = 6901;
#endif // NET_NETCONSTS_H