Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sysmon opt_envsys.h needs #ifdef _KERNEL_OPT



details:   https://anonhg.NetBSD.org/src/rev/263b87108b71
branches:  trunk
changeset: 781443:263b87108b71
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Sep 06 12:59:00 2012 +0000

description:
opt_envsys.h needs #ifdef _KERNEL_OPT
( thanks martin@ )

diffstat:

 sys/dev/sysmon/sysmon_envsysvar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8027b5ec7705 -r 263b87108b71 sys/dev/sysmon/sysmon_envsysvar.h
--- a/sys/dev/sysmon/sysmon_envsysvar.h Thu Sep 06 12:51:47 2012 +0000
+++ b/sys/dev/sysmon/sysmon_envsysvar.h Thu Sep 06 12:59:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsysvar.h,v 1.44 2012/09/06 12:10:28 macallan Exp $ */
+/* $NetBSD: sysmon_envsysvar.h,v 1.45 2012/09/06 12:59:00 macallan Exp $ */
 
 /*-
  * Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -40,7 +40,9 @@
 #include <dev/sysmon/sysmonvar.h>
 #include <prop/proplib.h>
 
+#ifdef _KERNEL_OPT
 #include "opt_envsys.h"
+#endif
 
 enum sme_descr_type {
        SME_DESC_UNITS = 1,



Home | Main Index | Thread Index | Old Index