0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-22 07:16:15 +00:00
packages/net/atlas-probe/patches/020-gcc14.patch
Rosen Penev 0b0841e290 atlas-probe: fix compilation with GCC14
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-11-10 10:42:46 -08:00

11 lines
275 B
Diff

--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -133,6 +133,7 @@
#include <string.h>
#include <unistd.h>
#include <linux/reboot.h>
+#include <sys/reboot.h>
#define LOGIN_PREFIX "Atlas probe, see http://atlas.ripe.net/\r\n\r\n"
#define LOGIN_PROMPT " login: "