From b5bbc1adb18bffb03f76d933ac4ab971e04e385b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Sun, 26 Dec 2021 22:11:36 +0100 Subject: [PATCH] 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. --- common.c | 1 - lib/i386-ports.c | 1 - ls-kernel.c | 1 - 3 files changed, 3 deletions(-) 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" -- 2.39.2