summaryrefslogtreecommitdiff
path: root/include/windows/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/windows/getopt.h')
-rw-r--r--include/windows/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/windows/getopt.h b/include/windows/getopt.h
index 9b526ff73..fc43be868 100644
--- a/include/windows/getopt.h
+++ b/include/windows/getopt.h
@@ -33,7 +33,7 @@
#include <unistd.h>
extern char *optarg;
-extern int optind;
+extern int optind, opterr, optopt;
/*
* Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions