Module Name: src
Committed By: tron
Date: Wed Feb 24 10:18:19 UTC 2010
Modified Files:
src/sys/sys: dtrace_bsd.h
Log Message:
Fix build of the "dtrace" kernel module.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/dtrace_bsd.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/sys/dtrace_bsd.h
diff -u src/sys/sys/dtrace_bsd.h:1.2 src/sys/sys/dtrace_bsd.h:1.3
--- src/sys/sys/dtrace_bsd.h:1.2 Tue Feb 23 22:19:27 2010
+++ src/sys/sys/dtrace_bsd.h Wed Feb 24 10:18:19 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: dtrace_bsd.h,v 1.2 2010/02/23 22:19:27 darran Exp $ */
+/* $NetBSD: dtrace_bsd.h,v 1.3 2010/02/24 10:18:19 tron Exp $ */
/*-
* Copyright (c) 2007-2008 John Birrell ([email protected])
@@ -33,7 +33,9 @@
#ifndef _SYS_DTRACE_BSD_H
#define _SYS_DTRACE_BSD_H
+#if defined(_KERNEL_OPT)
#include "opt_dtrace.h"
+#endif
#include <sys/param.h>
#include <sys/systm.h>