summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-09 00:41:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-09 00:41:07 +0300
commit099e939f2690fdfbbe594f31c31d8aa9dc09640a (patch)
tree0838a607f0914bb696f11488286cfb3e4541c7cf
parentd9ffcee4837b22bd404589079373c9157ef448bb (diff)
downloadmanaplus-099e939f2690fdfbbe594f31c31d8aa9dc09640a.tar.gz
manaplus-099e939f2690fdfbbe594f31c31d8aa9dc09640a.tar.bz2
manaplus-099e939f2690fdfbbe594f31c31d8aa9dc09640a.tar.xz
manaplus-099e939f2690fdfbbe594f31c31d8aa9dc09640a.zip
Add missing include into header.
-rw-r--r--src/const/net/nostat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/const/net/nostat.h b/src/const/net/nostat.h
index f56ce5925..3e2553d4f 100644
--- a/src/const/net/nostat.h
+++ b/src/const/net/nostat.h
@@ -21,6 +21,16 @@
#ifndef CONST_NET_NOSTAT_H
#define CONST_NET_NOSTAT_H
+#if defined(__GXX_EXPERIMENTAL_CXX0X__)
+#if defined(__APPLE__)
+#include <tr1/cstdint>
+#else
+#include <cstdint>
+#endif
+#else
+#include <stdint.h>
+#endif
+
static const int NoStat = INT_MAX;
#endif // CONST_NET_NOSTAT_H