summaryrefslogtreecommitdiffstats
path: root/hwaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwaccess.h')
-rw-r--r--hwaccess.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwaccess.h b/hwaccess.h
index fd6eb12..83f349e 100644
--- a/hwaccess.h
+++ b/hwaccess.h
@@ -37,7 +37,13 @@
* or as builtin.
*/
#define index shadow_workaround_index
+
+#if !defined (__NetBSD__) && !defined (__DragonFly__)
#include <pci/pci.h>
+#else
+#include <pciutils/pci.h>
+#endif
+
#undef index
#endif
OpenPOWER on IntegriCloud