diff options
author | imp <imp@FreeBSD.org> | 2004-05-30 23:08:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-05-30 23:08:53 +0000 |
commit | 77bfa810cc8670872b69e0edff8b53eda5193edf (patch) | |
tree | c2d01a60f67f813003fd810fa1fb9cb75d2227a1 /sys/sys/rman.h | |
parent | 0f1ef0c8cba1e02e3f50105d92ad07b4fef91d6f (diff) | |
download | FreeBSD-src-77bfa810cc8670872b69e0edff8b53eda5193edf.zip FreeBSD-src-77bfa810cc8670872b69e0edff8b53eda5193edf.tar.gz |
Include <machine/bus.h> and <machine/resource.h> here (only in the
kernel). No other sys/*.h file requires machine/foo.h to be included
before it. In addition, all the files that include rman.h would need
to include those two anyway. From these two perspectives, it is
traditional to include things like this.
This lets us stop treating sys/rman.h specially in every bus frontend
file.
Diffstat (limited to 'sys/sys/rman.h')
-rw-r--r-- | sys/sys/rman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/rman.h b/sys/sys/rman.h index 6bec626..68dd1bd 100644 --- a/sys/sys/rman.h +++ b/sys/sys/rman.h @@ -34,6 +34,9 @@ #ifndef _KERNEL #include <sys/queue.h> +#else +#include <machine/bus.h> +#include <machine/resource.h> #endif #define RF_ALLOCATED 0x0001 /* resource has been reserved */ |