]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Move getopt.h include into win32/unistd.h
authorMichael Schroeder <mls@suse.de>
Tue, 3 Feb 2026 12:12:12 +0000 (13:12 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 3 Feb 2026 12:12:12 +0000 (13:12 +0100)
Fixes issue #605

tools/deb2solv.c
tools/dumpsolv.c
tools/mergesolv.c
tools/repo2solv.c
tools/testsolv.c
win32/unistd.h

index 4fac3f03f7a8e82531615caa02dfc186cc1b707e..1e5e0dd86200f363e1131f1c4a764482ebb23a78 100644 (file)
@@ -15,7 +15,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <getopt.h>
 
 #include "util.h"
 #include "pool.h"
index 49651fbec8353fad7e0161e07084363d13e9ad88..84ba5d0123c7d1fb8584d3ea072b50d4df1f68b2 100644 (file)
@@ -9,7 +9,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <getopt.h>
 
 static int with_attr;
 static int dump_json;
index a10c686fd3523ab2a20bab77e615e4adaff563d2..8746ac60db82c825c2a01a9eca9bc2d78c2f8437 100644 (file)
@@ -16,7 +16,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include <getopt.h>
 
 #include "pool.h"
 #include "repo_solv.h"
index edf47f35a07de690d88ab8fe470ed6820b06bde9..af9409d7382d51204c409215eb2788dfde84436f 100644 (file)
@@ -5,7 +5,6 @@
  * for further information
  */
 
-#include <getopt.h>
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
index ab31fffc40907a6642d584920873b0ee853ba275..248da5ff4f5f6215b26d1a1e3cd54d1486ae75cb 100644 (file)
@@ -1,7 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <getopt.h>
 
 #include "pool.h"
 #include "repo.h"
index 41b121cd16b7daa8b6f81c30e7ca71e85958705c..ca5f9e4ce33b679b8020a07be5a44528d790af71 100644 (file)
@@ -1,4 +1,6 @@
 #ifndef _UNISTD_H
 #define _UNISTD_H
 
+#include <getopt.h>
+
 #endif
\ No newline at end of file