summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--missing/getopt_long.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/missing/getopt_long.c b/missing/getopt_long.c
index df6c7361..245e7bd3 100644
--- a/missing/getopt_long.c
+++ b/missing/getopt_long.c
@@ -79,6 +79,9 @@
#define W_PREFIX 2
#endif
+char *optarg;
+int optind, opterr, optopt;
+
static int getopt_internal(int, char * const *, const char *,
const struct option *, int *, int);
static int parse_long_options(char * const *, const char *,