Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Fix build of the "dtrace" kernel module.
details: https://anonhg.NetBSD.org/src/rev/bf269e834bc9
branches: trunk
changeset: 752356:bf269e834bc9
user: tron <tron%NetBSD.org@localhost>
date: Wed Feb 24 10:18:19 2010 +0000
description:
Fix build of the "dtrace" kernel module.
diffstat:
sys/sys/dtrace_bsd.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 3e0037b7dc51 -r bf269e834bc9 sys/sys/dtrace_bsd.h
--- a/sys/sys/dtrace_bsd.h Wed Feb 24 10:11:53 2010 +0000
+++ b/sys/sys/dtrace_bsd.h Wed Feb 24 10:18:19 2010 +0000
@@ -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 (jb%freebsd.org@localhost)
@@ -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>
Home |
Main Index |
Thread Index |
Old Index