From f84133eb539b798ba75933bf05d8516c6c536e19 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 6 Sep 2015 19:08:57 +0200 Subject: [PATCH] fix linux builds --- src/modules/arena.c | 1 + src/modules/score.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/arena.c b/src/modules/arena.c index 73b57d416..3b7e7c7f9 100644 --- a/src/modules/arena.c +++ b/src/modules/arena.c @@ -61,6 +61,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include #include +#include /* exports: */ plane *arena = NULL; diff --git a/src/modules/score.c b/src/modules/score.c index 55a26b72c..ed8f4e458 100644 --- a/src/modules/score.c +++ b/src/modules/score.c @@ -208,7 +208,7 @@ void score(void) } } - fprintf(scoreFP, "%d:%d:%d:%d", a->id, alliance_factions, + fprintf(scoreFP, "%d:%d:%d:%lld", a->id, alliance_factions, alliance_number, alliance_score); if (token != NULL) fprintf(scoreFP, ":%d", grails);