summaryrefslogtreecommitdiff
path: root/package/toolbox
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-29 19:19:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-03-29 19:19:48 +0100
commit30e5de19d4b9926fe288fc7292c09c515578616d (patch)
tree9e0ebdb12a32c7e20daef2f08871c9030b4c9e80 /package/toolbox
parent2568a3416934be7919ec952fc3be80396c80e806 (diff)
toolbox: gcc 14 fix
Diffstat (limited to 'package/toolbox')
-rw-r--r--package/toolbox/src/lib/fgetln.h1
-rw-r--r--package/toolbox/src/sed/main.c1
2 files changed, 2 insertions, 0 deletions
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 $");