diff --git a/Userland/Libraries/LibC/getopt.h b/Userland/Libraries/LibC/getopt.h index 0aaddf2820..3eac14d275 100644 --- a/Userland/Libraries/LibC/getopt.h +++ b/Userland/Libraries/LibC/getopt.h @@ -41,6 +41,11 @@ struct option { int val; }; +extern int opterr; +extern int optopt; +extern int optind; +extern int optreset; +extern char* optarg; int getopt_long(int argc, char** argv, const char* short_options, const struct option* long_options, int* out_long_option_index); __END_DECLS