Define optarg and optind (was breaking compilation on NetBSD)
This commit is contained in:
parent
3cf93a0961
commit
3459ed0b20
@ -420,6 +420,8 @@ main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char *ol = "csgVS";
|
char *ol = "csgVS";
|
||||||
|
extern char *optarg;
|
||||||
|
extern int optind;
|
||||||
|
|
||||||
argv_global = xstrdup(argv[0]);
|
argv_global = xstrdup(argv[0]);
|
||||||
sprintf(conf.confpath, "%s/"DEF_CONF, getenv("HOME"));
|
sprintf(conf.confpath, "%s/"DEF_CONF, getenv("HOME"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user