From 5ce7e615fb04a08b58fec05146a8a35abad1085f Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Mon, 21 Dec 2015 23:47:49 +0000 Subject: [PATCH] Include machine/_bus.h so that bus_space_[tag|handle]_t will be available. It appears that all platforms except aarch64 are getting the file via various header pollution, and ensuring _bus.h is included before any openfirmware headers in every consumer of ofw/fdt stuff seems like more of a career path than a task, so I'm taking this easy way out. --- sys/dev/ofw/openfirm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h index f5133eba9dc..acfd2d28448 100644 --- a/sys/dev/ofw/openfirm.h +++ b/sys/dev/ofw/openfirm.h @@ -61,6 +61,7 @@ #define _DEV_OPENFIRM_H_ #include +#include /* * Prototypes for Open Firmware Interface Routines