From: Martin Mares Date: Sat, 4 Dec 2010 17:49:05 +0000 (+0100) Subject: Moved #include to pciutils.h and avoid it on Windows X-Git-Tag: v3.1.8~12 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a30f08396bd651989c0f3ca98805acc731e07213;p=pciutils.git Moved #include to pciutils.h and avoid it on Windows --- diff --git a/lspci.c b/lspci.c index 54317cf..bca1ccb 100644 --- a/lspci.c +++ b/lspci.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "lspci.h" diff --git a/pciutils.h b/pciutils.h index 1f347a5..e433e6b 100644 --- a/pciutils.h +++ b/pciutils.h @@ -11,6 +11,8 @@ #ifdef PCI_OS_WINDOWS #include "compat/getopt.h" +#else +#include #endif #define PCIUTILS_VERSION PCILIB_VERSION diff --git a/setpci.c b/setpci.c index 5711e51..731c612 100644 --- a/setpci.c +++ b/setpci.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #define PCIUTILS_SETPCI