Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2026 14:08:52 +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: f9269613276b - stable/15 - mdo: Avoid relying on header pollution
Message-ID:  <6a0c6ef4.3c307.715563e7@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=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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0c6ef4.3c307.715563e7>