summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-07 05:33:46 +0000
committermarcel <marcel@FreeBSD.org>2003-09-07 05:33:46 +0000
commit9b5174db398625872694926af0404bd34bd33d3b (patch)
tree5b6c963687fce1ceff42704d68b0dc7a6ad17828
parente9f98a85f270f7e3c50956a48fecadf90fa4b53a (diff)
downloadFreeBSD-src-9b5174db398625872694926af0404bd34bd33d3b.zip
FreeBSD-src-9b5174db398625872694926af0404bd34bd33d3b.tar.gz
Fix build breakage caused by the inclusion of <ddb/ddb.h> 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.
-rw-r--r--sys/alpha/include/db_machdep.h3
1 files changed, 2 insertions, 1 deletions
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 <sys/param.h>
#include <vm/vm.h>
OpenPOWER on IntegriCloud