summaryrefslogtreecommitdiff
path: root/src/render
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/render
parentf683acc05a4edf5ae95a72d3ecffc7ed7c6b248f (diff)
downloadplus-8eb07f82959ea0b97df848386dda0538c63995e7.tar.gz
plus-8eb07f82959ea0b97df848386dda0538c63995e7.tar.bz2
plus-8eb07f82959ea0b97df848386dda0538c63995e7.tar.xz
plus-8eb07f82959ea0b97df848386dda0538c63995e7.zip
added missing cstdint include
Diffstat (limited to 'src/render')
-rw-r--r--src/render/opengl/mgltypes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/opengl/mgltypes.h b/src/render/opengl/mgltypes.h
index bf5a34fc7..53af6d129 100644
--- a/src/render/opengl/mgltypes.h
+++ b/src/render/opengl/mgltypes.h
@@ -72,7 +72,13 @@ RENDER_OPENGL_MGLDEFINES_H
#ifndef USE_SDL2
#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__)
#endif // USE_SDL2