From fdf5da62d7018efd440cf8b2c4fbd69093e2f3f9 Mon Sep 17 00:00:00 2001 From: carl Date: Tue, 19 Feb 2019 00:30:47 +0800 Subject: [PATCH] Better ANSI C compatibility and portability - part 1: * Adapt to new sys_filesize prototype. --- lang/m2/comp/defmodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/m2/comp/defmodule.c b/lang/m2/comp/defmodule.c index b778d7cb2..b8dd8879c 100644 --- a/lang/m2/comp/defmodule.c +++ b/lang/m2/comp/defmodule.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "LLlex.h" @@ -32,7 +33,7 @@ #include "type.h" #ifdef DEBUG -long sys_filesize(); +size_t sys_filesize(); #endif t_idf* DefId;