diff options
author | imp <imp@FreeBSD.org> | 2000-07-28 06:50:25 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-07-28 06:50:25 +0000 |
commit | 96986a89a48cfe24e6bcf8ed8fff61d10bf5e793 (patch) | |
tree | e8480582480546c4ee8a4f42867ae69599626eb0 /usr.bin/make | |
parent | b517a7eea40693d28c27e13f048af5d08516eb19 (diff) | |
download | FreeBSD-src-96986a89a48cfe24e6bcf8ed8fff61d10bf5e793.zip FreeBSD-src-96986a89a48cfe24e6bcf8ed8fff61d10bf5e793.tar.gz |
Do include <unistd.h> for getopt interface.
Don't extern it.
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 476b49d..9530a0e 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -95,6 +95,7 @@ __RCSID("$FreeBSD$"); #else #include <varargs.h> #endif +#include <unistd.h> #include "make.h" #include "hash.h" #include "dir.h" @@ -161,8 +162,6 @@ MainParseArgs(argc, argv) int argc; char **argv; { - extern int optind; - extern char *optarg; char *p; int c; |