Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 tuck in include inside ifdef, from Ryosuke ...



details:   https://anonhg.NetBSD.org/src/rev/3f508fd3b102
branches:  trunk
changeset: 841615:3f508fd3b102
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 26 00:30:35 2019 +0000

description:
tuck in include inside ifdef, from Ryosuke Moro

diffstat:

 sys/arch/x86/x86/consinit.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e3685c922bc6 -r 3f508fd3b102 sys/arch/x86/x86/consinit.c
--- a/sys/arch/x86/x86/consinit.c       Sat May 25 21:32:35 2019 +0000
+++ b/sys/arch/x86/x86/consinit.c       Sun May 26 00:30:35 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: consinit.c,v 1.29 2019/05/24 14:28:48 nonaka Exp $     */
+/*     $NetBSD: consinit.c,v 1.30 2019/05/26 00:30:35 christos Exp $   */
 
 /*
  * Copyright (c) 1998
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.29 2019/05/24 14:28:48 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.30 2019/05/26 00:30:35 christos Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_puc.h"
@@ -92,8 +92,8 @@
 #endif
 
 #ifndef XEN
+#if NHVKBD > 0
 #include "hvkbd.h"
-#if NHVKBD > 0
 #include <dev/hyperv/hvkbdvar.h>
 #endif
 #endif



Home | Main Index | Thread Index | Old Index