From: Michael Schroeder Date: Tue, 3 Feb 2026 12:12:12 +0000 (+0100) Subject: Move getopt.h include into win32/unistd.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa4db983162c03f2c1f48fcdb14f84abe6112125;p=thirdparty%2Flibsolv.git Move getopt.h include into win32/unistd.h Fixes issue #605 --- diff --git a/tools/deb2solv.c b/tools/deb2solv.c index 4fac3f03..1e5e0dd8 100644 --- a/tools/deb2solv.c +++ b/tools/deb2solv.c @@ -15,7 +15,6 @@ #include #include #include -#include #include "util.h" #include "pool.h" diff --git a/tools/dumpsolv.c b/tools/dumpsolv.c index 49651fbe..84ba5d01 100644 --- a/tools/dumpsolv.c +++ b/tools/dumpsolv.c @@ -9,7 +9,6 @@ #include #include #include -#include static int with_attr; static int dump_json; diff --git a/tools/mergesolv.c b/tools/mergesolv.c index a10c686f..8746ac60 100644 --- a/tools/mergesolv.c +++ b/tools/mergesolv.c @@ -16,7 +16,6 @@ #include #include #include -#include #include "pool.h" #include "repo_solv.h" diff --git a/tools/repo2solv.c b/tools/repo2solv.c index edf47f35..af9409d7 100644 --- a/tools/repo2solv.c +++ b/tools/repo2solv.c @@ -5,7 +5,6 @@ * for further information */ -#include #include #include #include diff --git a/tools/testsolv.c b/tools/testsolv.c index ab31fffc..248da5ff 100644 --- a/tools/testsolv.c +++ b/tools/testsolv.c @@ -1,7 +1,6 @@ #include #include #include -#include #include "pool.h" #include "repo.h" diff --git a/win32/unistd.h b/win32/unistd.h index 41b121cd..ca5f9e4c 100644 --- a/win32/unistd.h +++ b/win32/unistd.h @@ -1,4 +1,6 @@ #ifndef _UNISTD_H #define _UNISTD_H +#include + #endif \ No newline at end of file