aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-05-12 17:46:34 +0000
committerMark Johnston <markj@FreeBSD.org>2026-05-12 20:05:18 +0000
commitfae5815a1d7ef6ef07a15231ca695cba0f848e18 (patch)
tree76bb321df097c733d9e136b34e1d0e554b70510a
parent5615db1007bdc935ac6592a66721320ccd8335ce (diff)
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
-rw-r--r--sbin/hastd/hooks.c2
1 files changed, 1 insertions, 1 deletions
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>