From 297071520d1dc000d9e255512641a760071707a6 Mon Sep 17 00:00:00 2001 From: darran Date: Mon, 15 Mar 2010 02:28:59 +0000 Subject: [PATCH] DTrace: include in opt_dtrace.h so it will build with DTrace. --- sys/sys/ksyms.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/sys/ksyms.h b/sys/sys/ksyms.h index c7d837744c9d..36099d87f69f 100644 --- a/sys/sys/ksyms.h +++ b/sys/sys/ksyms.h @@ -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). @@ -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 #include