at least until boolean_t moves to <sys/types.h> or someplace... Also make ddb_regs extern here. Closes PR#3213