Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2011 16:22:11 +0200
From:      "K. Macy" <kmacy@freebsd.org>
To:        lev@freebsd.org
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: How to include <sys/bus.h> without "device_if.h" and "bus_if.h"?
Message-ID:  <CAHM0Q_NitgdkKKA_EcCwh4_kW1MRCF9X_kAM81KkGNFBAGfrzg@mail.gmail.com>
In-Reply-To: <899261441.20110908175756@serebryakov.spb.ru>
References:  <899261441.20110908175756@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Just add them to the makefile. They'll be automatically created  as
dependencies.

2011/9/8 Lev Serebryakov <lev@freebsd.org>:
> Hello, Freebsd-hackers.
>
> =A0I 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>.
> =A0What should I do?
>
> --
> // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org=
"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_NitgdkKKA_EcCwh4_kW1MRCF9X_kAM81KkGNFBAGfrzg>