git: 21ad40f1cee7 - stable/15 - reboot: Include limits.h for PATH_MAX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 May 2026 14:08:57 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=21ad40f1cee7cceb2ba8e9009c47fafd0da77615
commit 21ad40f1cee7cceb2ba8e9009c47fafd0da77615
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-12 17:46:45 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-19 14:08:32 +0000
reboot: Include limits.h for PATH_MAX
MFC after: 1 week
(cherry picked from commit 9461071d5cd901c968dcd7f4a114905995f90d66)
---
sbin/reboot/reboot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index 59ae83ef6f6a..0c35f91e629f 100644
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -40,6 +40,7 @@
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <paths.h>
#include <pwd.h>
#include <signal.h>