diff options
-rw-r--r-- | src/const/net/nostat.h | 10 |
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 |