Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2025 13:50:10 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2024887abc7d - main - certctl: Include sys/types.h
Message-ID:  <202509091350.589DoAUW001268@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit 2024887abc7d1b931e00fbb0697658e98adf048d
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-09-09 13:47:42 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-09-09 13:47:42 +0000

    certctl: Include sys/types.h
    
    This is needed to fix bootstrapping on FreeBSD versions before commit
    56ee5c551f89 ("sysctl: make sys/sysctl.h self contained").  Moreover,
    certctl should really be including sys/types.h directly since it uses
    size_t.
    
    MFC after:      1 week
---
 usr.sbin/certctl/certctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/certctl/certctl.c b/usr.sbin/certctl/certctl.c
index 15143c3b0582..a53ed7b2b4b2 100644
--- a/usr.sbin/certctl/certctl.c
+++ b/usr.sbin/certctl/certctl.c
@@ -4,6 +4,7 @@
  * SPDX-License-Identifier: BSD-2-Clause
  */
 
+#include <sys/types.h>
 #include <sys/sysctl.h>
 #include <sys/stat.h>
 #include <sys/tree.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509091350.589DoAUW001268>