Hi. I'm working on a project that supports OpenBSD and I noticed that pcidevs_data.h uses structures defined in pcireg.h but doesn't include the file. As a result, pcireg.h has to be included before pcidevs_data.h or else the compiler will throw an error.
I'm not sure if this is considered a bug or not, but I couldn't find any documentation of it and I could easily see it confusing newer developers. If adding an include to the header isn't an option, perhaps adding in a comment informing developers they need to import pcireg.h would prove useful. Thanks, Gibson Pilconis
publickey - gibsonpil@protonmail.com - 0xE7CBA41E.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature