Thomas Heijligen has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/60342 )
Change subject: hwaccess_x86_msr: buildfix for FreeBSD ......................................................................
hwaccess_x86_msr: buildfix for FreeBSD
Add missing includes for FreeBSD
Change-Id: I2045345878392436b0ea4d6bd4f2896edc645673 Signed-off-by: Thomas Heijligen thomas.heijligen@secunet.com --- M hwaccess_x86_msr.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/42/60342/1
diff --git a/hwaccess_x86_msr.c b/hwaccess_x86_msr.c index fa7df72..79cf2f8 100644 --- a/hwaccess_x86_msr.c +++ b/hwaccess_x86_msr.c @@ -204,6 +204,13 @@ }
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#include <stdint.h> +#include <stdlib.h> +#include <errno.h> +#include <fcntl.h> +#include <string.h> +#include <unistd.h> + #include <sys/ioctl.h>
typedef struct {