1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

Move getopt.h include into win32/unistd.h

Fixes issue #605
This commit is contained in:
Michael Schroeder
2026-02-03 13:12:12 +01:00
parent 0d5e10ee87
commit fa4db98316
6 changed files with 2 additions and 5 deletions

View File

@@ -15,7 +15,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <getopt.h>
#include "util.h"
#include "pool.h"

View 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;

View File

@@ -16,7 +16,6 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <getopt.h>
#include "pool.h"
#include "repo_solv.h"

View File

@@ -5,7 +5,6 @@
* for further information
*/
#include <getopt.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -1,7 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "pool.h"
#include "repo.h"

View File

@@ -1,4 +1,6 @@
#ifndef _UNISTD_H
#define _UNISTD_H
#include <getopt.h>
#endif