summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2023-04-07 03:06:17 +0200
committerjak1 <jak1@themanaworld.org>2023-04-07 03:06:17 +0200
commit8eb07f82959ea0b97df848386dda0538c63995e7 (patch)
tree4741360092205683934adaf441a897d7a0161c5e /src/const
parentf683acc05a4edf5ae95a72d3ecffc7ed7c6b248f (diff)
downloadManaVerse-8eb07f82959ea0b97df848386dda0538c63995e7.tar.gz
ManaVerse-8eb07f82959ea0b97df848386dda0538c63995e7.tar.bz2
ManaVerse-8eb07f82959ea0b97df848386dda0538c63995e7.tar.xz
ManaVerse-8eb07f82959ea0b97df848386dda0538c63995e7.zip
added missing cstdint include
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__)