diff options
Diffstat (limited to 'lib/libc/unistd/getopt.c')
| -rw-r--r-- | lib/libc/unistd/getopt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/unistd/getopt.c b/lib/libc/unistd/getopt.c index 8ef18d37..0a3b38cb 100644 --- a/lib/libc/unistd/getopt.c +++ b/lib/libc/unistd/getopt.c @@ -1,7 +1,6 @@ -#include <unistd.h> -#include <stdio.h> -#include <string.h> -#include <sys/uio.h> +#include <string.h> // for strlen +#include <sys/uio.h> // for iovec, writev +#include <unistd.h> // for STDERR_FILENO, getopt, optarg, opterr, optind char *optarg; int optind = 1, opterr = 1, optopt; |
