Only include "locators.h" is _KERNEL is defined.

This commit is contained in:
matt 2001-03-05 23:50:02 +00:00
parent 3ec18a1616
commit 37d2bbb0a2

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcivar.h,v 1.44 2001/02/12 09:14:53 mrg Exp $ */
/* $NetBSD: pcivar.h,v 1.45 2001/03/05 23:50:02 matt Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -132,7 +132,9 @@ struct pci_quirkdata {
};
#define PCI_QUIRK_MULTIFUNCTION 1
#ifdef _KERNEL
#include "locators.h"
#endif
/*
* Locators devices that attach to 'pcibus', as specified to config.