summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
Diffstat (limited to 'src/const')
-rw-r--r--src/const/net/maxpacketversion.h4
-rw-r--r--src/const/net/net.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h
index ba075b651..044459bc3 100644
--- a/src/const/net/maxpacketversion.h
+++ b/src/const/net/maxpacketversion.h
@@ -22,7 +22,11 @@
#define CONST_NET_MAXPACKETVERSION_H
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
+#if defined(__APPLE__)
+#include <tr1/cstdint>
+#else // defined(__APPLE__)
#include <cstdint>
+#endif // defined(__APPLE__)
#else // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <stdint.h>
#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
diff --git a/src/const/net/net.h b/src/const/net/net.h
index 8d515732d..0077ca815 100644
--- a/src/const/net/net.h
+++ b/src/const/net/net.h
@@ -22,7 +22,11 @@
#define CONST_NET_NET_H
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
+#if defined(__APPLE__)
+#include <tr1/cstdint>
+#else // defined(__APPLE__)
#include <cstdint>
+#endif // defined(__APPLE__)
#else // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <stdint.h>
#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)