git: ee99cb45ea56 - stable/15 - certctl: Include sys/types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 15:23:28 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=ee99cb45ea56dd8fee0cf812bb72bbd69552f95d
commit ee99cb45ea56dd8fee0cf812bb72bbd69552f95d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-09-09 13:47:42 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-09-30 09:43:07 +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
(cherry picked from commit 2024887abc7d1b931e00fbb0697658e98adf048d)
---
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 3601f6929fc4..7fdc644bc09f 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>