diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-17 15:53:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-17 17:44:00 +0300 |
commit | 67d2b4560247210d6b20d36ba725be6bf5d4fd53 (patch) | |
tree | db73557a22389f2431f49a75f5d85120759e8bfe | |
parent | 3f7f55d24f8adbfaa6e534734e955fb3c37792ff (diff) | |
download | manaplus-67d2b4560247210d6b20d36ba725be6bf5d4fd53.tar.gz manaplus-67d2b4560247210d6b20d36ba725be6bf5d4fd53.tar.bz2 manaplus-67d2b4560247210d6b20d36ba725be6bf5d4fd53.tar.xz manaplus-67d2b4560247210d6b20d36ba725be6bf5d4fd53.zip |
fix nacl and windows compilation.
-rw-r--r-- | src/being/localplayer.cpp | 2 | ||||
-rw-r--r-- | src/resources/map/map.cpp | 2 | ||||
-rw-r--r-- | src/units.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 359cc0b70..db37992f6 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -91,6 +91,8 @@ #include "mumblemanager.h" #endif +#include <climits> + #include "debug.h" static const int16_t awayLimitTimer = 60; diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index a1a9d446b..84f1d1049 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -63,6 +63,8 @@ #include <sys/stat.h> +#include <climits> + #include "debug.h" class ActorFunctuator final diff --git a/src/units.cpp b/src/units.cpp index 4319fa89e..237aa04e8 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -27,6 +27,8 @@ #include "resources/beingcommon.h" +#include <climits> + #include "debug.h" struct UnitLevel final |