How to include <sys/bus.h> without "device_if.h" and "bus_if.h"?
K. Macy
kmacy at freebsd.org
Thu Sep 8 14:44:39 UTC 2011
Just add them to the makefile. They'll be automatically created as
dependencies.
2011/9/8 Lev Serebryakov <lev at freebsd.org>:
> Hello, Freebsd-hackers.
>
> I need to include <sys/bus.h> in my kernel module to use
> devctl_notify(). But my module doesn't have device_if.h or bus_if.h,
> which are required by <sys/bus.h>.
> What should I do?
>
> --
> // Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list