Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2026 14:08:55 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9eea4e03d1d4 - stable/15 - hastd: Include param.h instead of relying on pollution in hooks.c
Message-ID:  <6a0c6ef7.3b137.35ad6c4d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by markj:

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

commit 9eea4e03d1d493892111e690d013f25cc0fdd187
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-12 17:46:34 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-19 14:08:32 +0000

    hastd: Include param.h instead of relying on pollution in hooks.c
    
    This is needed at least for MAX() and PATH_MAX.
    
    MFC after:      1 week
    
    (cherry picked from commit fae5815a1d7ef6ef07a15231ca695cba0f848e18)
---
 sbin/hastd/hooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/hastd/hooks.c b/sbin/hastd/hooks.c
index 43ba6f06851a..f8c908928b0f 100644
--- a/sbin/hastd/hooks.c
+++ b/sbin/hastd/hooks.c
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/wait.h>
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0c6ef7.3b137.35ad6c4d>