summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-11-09 08:03:01 +0000
committerpeter <peter@FreeBSD.org>1998-11-09 08:03:01 +0000
commitd0b41038518dff81166fbdd0c22e3339b13eaaf1 (patch)
treec5fa193f47f530b1ddb0d38f1261559a8f8516ec /sys
parent0bc0cd8404e25c42f020a50e06c8504505f57508 (diff)
downloadFreeBSD-src-d0b41038518dff81166fbdd0c22e3339b13eaaf1.zip
FreeBSD-src-d0b41038518dff81166fbdd0c22e3339b13eaaf1.tar.gz
Fix a warning (#include the apic_next_irq() prototype for APIC_IO)
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/pci_compat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index c082318..d2f9ebf 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci_compat.c,v 1.11 1998/09/15 08:21:09 gibbs Exp $
+ * $Id: pci_compat.c,v 1.12 1998/10/06 14:18:40 dfr Exp $
*
*/
@@ -48,6 +48,10 @@
#include <sys/drvresource.h>
#endif
+#ifdef APIC_IO
+#include <machine/smp.h>
+#endif
+
#ifdef PCI_COMPAT
/* ------------------------------------------------------------------------- */
OpenPOWER on IntegriCloud