summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index ecaf692bf..20dab2f63 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <limits.h>
#include "battle.h"
#include "../common/timer.h"