aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-05-12 17:46:45 +0000
committerMark Johnston <markj@FreeBSD.org>2026-05-12 20:05:19 +0000
commit9461071d5cd901c968dcd7f4a114905995f90d66 (patch)
treef6fd900cd0fe8d38a82aead4b75535e23696a930
parentee2d1a1a5a1877f8ce7b9eee94479ec702880bd7 (diff)
reboot: Include limits.h for PATH_MAX
MFC after: 1 week
-rw-r--r--sbin/reboot/reboot.c1
1 files changed, 1 insertions, 0 deletions
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>