git: 2024887abc7d - main - certctl: Include sys/types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Sep 2025 13:50:10 UTC
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>