From 37d2bbb0a280020bc80897aa81a00fa277204541 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 5 Mar 2001 23:50:02 +0000 Subject: [PATCH] Only include "locators.h" is _KERNEL is defined. --- sys/dev/pci/pcivar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 9a97aefc4fb2..e7c978211ec5 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -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.