Define optarg and optind (was breaking compilation on NetBSD)

This commit is contained in:
Philippe Pepiot 2010-11-29 21:17:04 +01:00
parent 3cf93a0961
commit 3459ed0b20

View File

@ -420,6 +420,8 @@ main(int argc, char **argv)
{
int i;
char *ol = "csgVS";
extern char *optarg;
extern int optind;
argv_global = xstrdup(argv[0]);
sprintf(conf.confpath, "%s/"DEF_CONF, getenv("HOME"));