From: Pali Rohár Date: Sun, 26 Dec 2021 21:11:36 +0000 (+0100) Subject: pciutils: Remove #include from files which do not need it X-Git-Tag: v3.8.0~49 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b5bbc1adb18bffb03f76d933ac4ab971e04e385b;p=pciutils.git pciutils: Remove #include from files which do not need it In more files is header file included without any usage. MSVC does not provide this header file so remove this useless usage of to allow compilation under MSVC. --- diff --git a/common.c b/common.c index c5a3c8f..3d69dd0 100644 --- a/common.c +++ b/common.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "pciutils.h" diff --git a/lib/i386-ports.c b/lib/i386-ports.c index 768e545..2e64fe4 100644 --- a/lib/i386-ports.c +++ b/lib/i386-ports.c @@ -10,7 +10,6 @@ #include "internal.h" -#include #include #if defined(PCI_OS_LINUX) diff --git a/ls-kernel.c b/ls-kernel.c index ecacd0e..c47dc83 100644 --- a/ls-kernel.c +++ b/ls-kernel.c @@ -8,7 +8,6 @@ #include #include -#include #include "lspci.h"