From 30e5de19d4b9926fe288fc7292c09c515578616d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 29 Mar 2025 19:19:48 +0100 Subject: toolbox: gcc 14 fix --- package/toolbox/src/lib/fgetln.h | 1 + package/toolbox/src/sed/main.c | 1 + 2 files changed, 2 insertions(+) create mode 100644 package/toolbox/src/lib/fgetln.h (limited to 'package/toolbox') diff --git a/package/toolbox/src/lib/fgetln.h b/package/toolbox/src/lib/fgetln.h new file mode 100644 index 000000000..ae655c23d --- /dev/null +++ b/package/toolbox/src/lib/fgetln.h @@ -0,0 +1 @@ +char *fgetln(FILE *, size_t *); diff --git a/package/toolbox/src/sed/main.c b/package/toolbox/src/sed/main.c index afa10d4df..1d9e3ebaa 100644 --- a/package/toolbox/src/sed/main.c +++ b/package/toolbox/src/sed/main.c @@ -53,6 +53,7 @@ #include "defs.h" #include "extern.h" +#include "fgetln.h" __RCSID("$MirOS: src/usr.bin/sed/main.c,v 1.3 2017/11/20 01:23:57 tg Exp $"); -- cgit v1.2.3