Source-Changes-HG archive

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

[src/trunk]: src/sys/sys DTrace: include in opt_dtrace.h so it will build wit...



details:   https://anonhg.NetBSD.org/src/rev/dc2716f3422a
branches:  trunk
changeset: 753027:dc2716f3422a
user:      darran <darran%NetBSD.org@localhost>
date:      Mon Mar 15 02:28:59 2010 +0000

description:
DTrace: include in opt_dtrace.h so it will build with DTrace.

diffstat:

 sys/sys/ksyms.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 090d9cd490df -r dc2716f3422a sys/sys/ksyms.h
--- a/sys/sys/ksyms.h   Mon Mar 15 02:17:29 2010 +0000
+++ b/sys/sys/ksyms.h   Mon Mar 15 02:28:59 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ksyms.h,v 1.26 2010/03/14 21:27:50 darran Exp $        */
+/*     $NetBSD: ksyms.h,v 1.27 2010/03/15 02:28:59 darran Exp $        */
 
 /*
  * Copyright (c) 2001, 2003 Anders Magnusson (ragge%ludd.luth.se@localhost).
@@ -31,6 +31,11 @@
 #define _SYS_KSYMS_H_
 
 #ifdef _KSYMS_PRIVATE
+
+#if defined(_KERNEL_OPT)
+#include "opt_dtrace.h"
+#endif
+
 #define        ELFSIZE ARCH_ELFSIZE
 #include <sys/exec_elf.h>
 #include <sys/queue.h>



Home | Main Index | Thread Index | Old Index