Module Name:    src
Committed By:   macallan
Date:           Thu Sep  6 12:59:00 UTC 2012

Modified Files:
        src/sys/dev/sysmon: sysmon_envsysvar.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/sysmon/sysmon_envsysvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/sysmon/sysmon_envsysvar.h
diff -u src/sys/dev/sysmon/sysmon_envsysvar.h:1.44 src/sys/dev/sysmon/sysmon_envsysvar.h:1.45
--- src/sys/dev/sysmon/sysmon_envsysvar.h:1.44	Thu Sep  6 12:10:28 2012
+++ src/sys/dev/sysmon/sysmon_envsysvar.h	Thu Sep  6 12:59:00 2012
@@ -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,

Reply via email to