From 796317e0e33b8838d5bc88ffa51105b7bdca09e5 Mon Sep 17 00:00:00 2001 From: carl Date: Tue, 19 Feb 2019 00:30:35 +0800 Subject: [PATCH] Better ANSI C compatibility and portability - part 1: * Adapt to new sys_filesize prototype. --- lang/basic/src/gencode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/basic/src/gencode.c b/lang/basic/src/gencode.c index 710de169d..6a500d06d 100644 --- a/lang/basic/src/gencode.c +++ b/lang/basic/src/gencode.c @@ -4,6 +4,7 @@ */ #include "bem.h" +#include "system.h" #ifndef NORSCID static char rcs_id[] = "$Id$" ; @@ -59,7 +60,7 @@ List *datalist=0; datastmt() { List *l,*l1; - extern long sys_filesize(); + /* NOSTRICT */ l= (List *) salloc(sizeof(List)); l->linenr= currline->linenr; -- 2.34.1