From 9b5174db398625872694926af0404bd34bd33d3b Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 7 Sep 2003 05:33:46 +0000 Subject: Fix build breakage caused by the inclusion of while building a module. Inclusion of option files (opt_ddb.h in this case) is not possible for modules. The inclusion of opt_ddb.h in this header is questionable. --- sys/alpha/include/db_machdep.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/alpha/include/db_machdep.h b/sys/alpha/include/db_machdep.h index ccd033e..d2c4837 100644 --- a/sys/alpha/include/db_machdep.h +++ b/sys/alpha/include/db_machdep.h @@ -34,8 +34,9 @@ /* * Machine-dependent defines for new kernel debugger. */ - +#ifndef KLD_MODULE #include "opt_ddb.h" +#endif #include #include -- cgit v1.1