svn commit: r335633 - head/sys/dev/vt/hw/vga

Konstantin Belousov kib at FreeBSD.org
Mon Jun 25 11:12:22 UTC 2018


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;
 


More information about the svn-src-head mailing list