summaryrefslogtreecommitdiffstats
path: root/usr.bin/getopt
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r--usr.bin/getopt/getopt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/getopt/getopt.c b/usr.bin/getopt/getopt.c
index 060e2c9..fbadc92 100644
--- a/usr.bin/getopt/getopt.c
+++ b/usr.bin/getopt/getopt.c
@@ -1,11 +1,12 @@
+/* $FreeBSD$ */
+
#include <stdio.h>
+#include <unistd.h>
main(argc, argv)
int argc;
char *argv[];
{
- extern int optind;
- extern char *optarg;
int c;
int status = 0;
OpenPOWER on IntegriCloud