diff options
Diffstat (limited to 'plugins/sysinfo/unix')
-rw-r--r-- | plugins/sysinfo/unix/parse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sysinfo/unix/parse.c b/plugins/sysinfo/unix/parse.c index 30599068..784e2824 100644 --- a/plugins/sysinfo/unix/parse.c +++ b/plugins/sysinfo/unix/parse.c @@ -23,14 +23,16 @@ #include <stdlib.h> #include <string.h> #include <ctype.h> -#include <pci/header.h> +#ifdef HAVE_LIBPCI + #include <pci/header.h> + #include "pci.h" +#endif #include <glib.h> #ifdef __sparc__ #include <dirent.h> #endif -#include "pci.h" #include "match.h" #include "parse.h" #include "sysinfo.h" |