From: Frank Lichtenheld Date: Mon, 8 Aug 2022 10:54:11 +0200 Message-Id: <20220808085411.9159-1-frank@...2641...> In-Reply-To: <20220804150301.62856-1-frank@...2641...> References: <20220804150301.62856-1-frank@...2641...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH v2 1/2] config-version.h: remove unused includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net We only need to include this when we want the git version. Signed-off-by: Frank Lichtenheld --- src/openvpn/block_dns.c | 3 --- src/tapctl/main.c | 3 --- 2 files changed, 6 deletions(-) v2: Do not remove include in plugin.c diff --git a/src/openvpn/block_dns.c b/src/openvpn/block_dns.c index 88e933fb..7849ec53 100644 --- a/src/openvpn/block_dns.c +++ b/src/openvpn/block_dns.c @@ -28,9 +28,6 @@ #elif defined(_MSC_VER) #include "config-msvc.h" #endif -#ifdef HAVE_CONFIG_VERSION_H -#include "config-version.h" -#endif #include "syshead.h" diff --git a/src/tapctl/main.c b/src/tapctl/main.c index a98cc6a8..0724cc4d 100644 --- a/src/tapctl/main.c +++ b/src/tapctl/main.c @@ -24,9 +24,6 @@ #elif defined(_MSC_VER) #include #endif -#ifdef HAVE_CONFIG_VERSION_H -#include -#endif #include "tap.h" #include "error.h" -- 2.34.1