Do include <unistd.h> for getopt interface.

Don't extern it.
This commit is contained in:
Warner Losh 2000-07-28 06:50:25 +00:00
parent a66233226c
commit 9ad6473aef

View File

@ -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;