From 28ebccd5fa995b78eda263f9cbc3a46e6a4b9ee1 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 25 Jun 2018 11:12:21 +0000 Subject: [PATCH] Fix compilation. Pointy hat to: me Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/dev/vt/hw/vga/vt_vga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c index 1c7d312af22..4a53a08f998 100644 --- a/sys/dev/vt/hw/vga/vt_vga.c +++ b/sys/dev/vt/hw/vga/vt_vga.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include #if defined(__amd64__) || defined(__i386__) +#include #include #endif @@ -1212,7 +1213,7 @@ vga_initialize(struct vt_device *vd, int textmode) static bool vga_acpi_disabled(void) { -#if (defined(__amd64__) || defined(__i386__) +#if defined(__amd64__) || defined(__i386__) uint16_t flags; int ignore;