summaryrefslogtreecommitdiff
path: root/include/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/getopt.h')
-rw-r--r--include/getopt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 0d71ff6bd..a4cb95496 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -9,8 +9,9 @@
#include <features.h>
extern char *optarg;
-extern int opterr;
extern int optind;
+extern int opterr;
+extern int optopt;
extern int getopt __P((int argc, char *const *argv, const char *shortopts));