uronode/uronode-2.15-gcc-15-fix.patch
Jaroslav Škarvada d7a37d9fa8 Fixed FTBFS with gcc-15
Resolves: rhbz#2341489
2025-04-14 16:22:52 +02:00

21 lines
447 B
Diff

diff --git a/command.c b/command.c
index 99db955..ac9ba50 100644
--- a/command.c
+++ b/command.c
@@ -5,6 +5,7 @@
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
+#include <signal.h>
#include <sys/utsname.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -29,8 +30,6 @@ struct cmd *Nodecmds = NULL;
int meminfo(const char *s);
-int kill();
-
void init_nodecmds(void)
{
add_internal_cmd(&Nodecmds, "?", 1, do_help);