The branch main has been updated by markj:

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

commit fae5815a1d7ef6ef07a15231ca695cba0f848e18
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-05-12 17:46:34 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-05-12 20:05:18 +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
---
 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>
 

Reply via email to