Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include/drm Guard #include "pci.h" wit...



details:   https://anonhg.NetBSD.org/src/rev/2e6807de6f52
branches:  trunk
changeset: 835276:2e6807de6f52
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:53:09 2018 +0000

description:
Guard #include "pci.h" with _KERNEL_OPT.

diffstat:

 sys/external/bsd/drm2/include/drm/drm_os_netbsd.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 23161e331116 -r 2e6807de6f52 sys/external/bsd/drm2/include/drm/drm_os_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 13:52:58 2018 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 13:53:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_os_netbsd.h,v 1.9 2018/08/27 07:50:08 riastradh Exp $      */
+/*     $NetBSD: drm_os_netbsd.h,v 1.10 2018/08/27 13:53:09 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -41,7 +41,10 @@
 #define        CONFIG_X86_PAT  1
 #endif
 
+#if defined(_KERNEL_OPT)
 #include "pci.h"
+#endif
+
 #if NPCI > 0
 #define        CONFIG_PCI      1
 #endif



Home | Main Index | Thread Index | Old Index