git: e19e2017f7aa - stable/15 - install: Explicitly include sys/param.h for MAXPATHLEN

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 08 Jul 2026 18:09:54 UTC
The branch stable/15 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=e19e2017f7aa1e36f508c028378cf90cdcdb9811

commit e19e2017f7aa1e36f508c028378cf90cdcdb9811
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-06-22 20:19:29 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-08 18:09:34 +0000

    install: Explicitly include sys/param.h for MAXPATHLEN
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit ca89b0fa1a93744a5bbf7a5c949826bbee4e2559)
---
 usr.bin/xinstall/xinstall.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index c5acd536ef64..188812bbf7dd 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -30,6 +30,7 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/wait.h>