$OpenBSD: patch-hwaccess_h,v 1.2 2019/07/05 16:01:57 sthen Exp $ use patched pciutils. Index: hwaccess.h --- hwaccess.h.orig +++ hwaccess.h @@ -30,7 +30,9 @@ */ #define index shadow_workaround_index -#if !defined (__NetBSD__) +#ifdef __OpenBSD__ +#include "pciutils/lib/pci.h" +#elif !defined (__NetBSD__) #include <pci/pci.h> #else #include <pciutils/pci.h>