Date: Mon, 25 Jun 2018 11:12:21 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335633 - head/sys/dev/vt/hw/vga Message-ID: <201806251112.w5PBCL1C016862@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Jun 25 11:12:21 2018 New Revision: 335633 URL: https://svnweb.freebsd.org/changeset/base/335633 Log: Fix compilation. Pointy hat to: me Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/dev/vt/hw/vga/vt_vga.c Modified: head/sys/dev/vt/hw/vga/vt_vga.c ============================================================================== --- head/sys/dev/vt/hw/vga/vt_vga.c Mon Jun 25 11:01:12 2018 (r335632) +++ head/sys/dev/vt/hw/vga/vt_vga.c Mon Jun 25 11:12:21 2018 (r335633) @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #if defined(__amd64__) || defined(__i386__) +#include <contrib/dev/acpica/include/acpi.h> #include <machine/md_var.h> #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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806251112.w5PBCL1C016862>