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
This commit is contained in:
Warner Losh
2025-06-04 08:51:37 -06:00
parent 56a4d1a4cc
commit 7aac4b22f9
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -35,6 +35,8 @@
#ifndef __ARM64_INCLUDE_EFI_H_
#define __ARM64_INCLUDE_EFI_H_
#include <sys/types.h>
#define EFIABI_ATTR
#ifdef _KERNEL