diff options
Diffstat (limited to 'src/net/worldinfo.h')
-rw-r--r-- | src/net/worldinfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/worldinfo.h b/src/net/worldinfo.h index 2903caf29..1afde7cb3 100644 --- a/src/net/worldinfo.h +++ b/src/net/worldinfo.h @@ -23,9 +23,21 @@ #ifndef NET_WORLDINFO_H #define NET_WORLDINFO_H +#if defined(__GXX_EXPERIMENTAL_CXX0X__) +#if defined(__APPLE__) +#include <tr1/cstdint> +#else +#include <cstdint> +#endif +#else +#include <stdint.h> +#endif + #include <string> #include <vector> +#include "localconsts.h" + struct WorldInfo final { WorldInfo() : |