The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7aac4b22f9bed604a819419e19f0322a31d41397
commit 7aac4b22f9bed604a819419e19f0322a31d41397 Author: Warner Losh <i...@freebsd.org> AuthorDate: 2025-06-04 14:51:37 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2025-06-04 14:53:07 +0000 efi: Include sys/types.h for register_t This file depends on sys/types.h being included before it, which isn't the best assumption. Include it here since we have no namespace pollution concerns. Sponsored by: Netflix --- sys/amd64/include/efi.h | 2 ++ sys/arm64/include/efi.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/amd64/include/efi.h b/sys/amd64/include/efi.h index 5932bbaeeec5..b47c4aa27ac7 100644 --- a/sys/amd64/include/efi.h +++ b/sys/amd64/include/efi.h @@ -29,6 +29,8 @@ #ifndef __AMD64_INCLUDE_EFI_H_ #define __AMD64_INCLUDE_EFI_H_ +#include <sys/types.h> + /* * XXX: from gcc 6.2 manual: * Note, the ms_abi attribute for Microsoft Windows 64-bit targets diff --git a/sys/arm64/include/efi.h b/sys/arm64/include/efi.h index d5cb44f740b0..bfce872296a2 100644 --- a/sys/arm64/include/efi.h +++ b/sys/arm64/include/efi.h @@ -35,6 +35,8 @@ #ifndef __ARM64_INCLUDE_EFI_H_ #define __ARM64_INCLUDE_EFI_H_ +#include <sys/types.h> + #define EFIABI_ATTR #ifdef _KERNEL