From 64b885e2d75c04cabcadff2f7f73ec4048d0ec83 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 {