summaryrefslogtreecommitdiff
path: root/win32/getopt.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-11-27 14:49:16 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-11-27 14:49:16 +0900
commit6a68988035ea989055076d81b7ab53c7015c8c32 (patch)
tree882953ab11585f025ce133c8ad5a281eb4857a80 /win32/getopt.h
parentcbc3c6a32d29006dda50336e30b42c25f5ca7454 (diff)
downloadlibsolv-6a68988035ea989055076d81b7ab53c7015c8c32.tar.gz
libsolv-6a68988035ea989055076d81b7ab53c7015c8c32.tar.bz2
libsolv-6a68988035ea989055076d81b7ab53c7015c8c32.zip
Imported Upstream version 0.7.12upstream/0.7.12
Diffstat (limited to 'win32/getopt.h')
-rw-r--r--win32/getopt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/win32/getopt.h b/win32/getopt.h
index 35cbd35..861ff0b 100644
--- a/win32/getopt.h
+++ b/win32/getopt.h
@@ -5,9 +5,12 @@
extern "C" {
#endif
+#include "config.h"
+
int getopt(int, char * const [], const char *);
-extern char *optarg;
-extern int optind, opterr, optopt, optreset;
+
+SOLV_API extern char *optarg;
+SOLV_API extern int optind, opterr, optopt, optreset;
struct option {
const char *name;