From f16fc31b2d19a3e2fcdb20bb4dee7c4fb8a7fff5 Mon Sep 17 00:00:00 2001 From: "Dementiev, Roman" Date: Fri, 23 Aug 2024 08:45:58 +0200 Subject: [PATCH] fix compilation on BSD Change-Id: I7557a7a343506f5e3bebd7aa96a7bf4e3ed55b3a --- src/lspci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lspci.h b/src/lspci.h index af81886b..0017aac6 100644 --- a/src/lspci.h +++ b/src/lspci.h @@ -19,12 +19,12 @@ #else // different distributions put it in different places #define PCI_IDS_PATH "/usr/share/hwdata/pci.ids" -#define PCI_IDS_PATH2 "/usr/share/misc/pci.ids" #define PCI_IDS_NOT_FOUND "/usr/share/hwdata/pci.ids file is not available." \ " Ensure that the \"hwdata\" package is properly installed or download" \ " https://raw.githubusercontent.com/pciutils/pciids/master/pci.ids and" \ " copy it to the current directory." #endif +#define PCI_IDS_PATH2 "/usr/share/misc/pci.ids" namespace pcm {