summaryrefslogtreecommitdiff
path: root/src/const/net/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/const/net/net.h')
-rw-r--r--src/const/net/net.h4
1 files changed, 4 insertions, 0 deletions
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__)