git: 9461071d5cd9 - main - reboot: Include limits.h for PATH_MAX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 May 2026 20:06:03 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=9461071d5cd901c968dcd7f4a114905995f90d66
commit 9461071d5cd901c968dcd7f4a114905995f90d66
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-12 17:46:45 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-12 20:05:19 +0000
reboot: Include limits.h for PATH_MAX
MFC after: 1 week
---
sbin/reboot/reboot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index 002a393000eb..a11f92453147 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>