mirror of https://github.com/openwrt/packages.git
atlas-probe: fix compilation with GCC14
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>pull/25265/head^2
parent
f2d5c861bd
commit
0b0841e290
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=atlas-probe
|
||||
PKG_VERSION:=2.6.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- 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: "
|
Loading…
Reference in New Issue