git: f9269613276b - stable/15 - mdo: Avoid relying on header pollution

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 19 May 2026 14:08:52 UTC
The branch stable/15 has been updated by markj:

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

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

    mdo: Avoid relying on header pollution
    
    The uses of PAGE_SIZE and roundup2() require param.h.
    
    MFC after:      1 week
    
    (cherry picked from commit 35a36d4a54df244e93bf280345426a600e394a90)
---
 usr.bin/mdo/mdo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/mdo/mdo.c b/usr.bin/mdo/mdo.c
index 879423bc0128..e72f28b237e7 100644
--- a/usr.bin/mdo/mdo.c
+++ b/usr.bin/mdo/mdo.c
@@ -10,9 +10,9 @@
  * Foundation.
  */
 
+#include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/limits.h>
-#include <sys/types.h>
 #include <sys/ucred.h>
 
 #include <assert.h>