From: Theodore Ts'o Date: Mon, 3 Apr 2000 16:16:46 +0000 (+0000) Subject: ChangeLog, subst.c: X-Git-Tag: E2FSPROGS-1_19~58 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=691d3353c21a9c8c38d57440808ad7a53827b7dc;p=tools%2Fe2fsprogs.git ChangeLog, subst.c: subst.c: For platforms that don't define optarg.h, manually define optarg and optind. --- diff --git a/util/ChangeLog b/util/ChangeLog index 600cf13..891b21f 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,8 @@ +2000-04-03 Theodore Ts'o + + * subst.c: For platforms that don't define optarg.h, manually + define optarg and optind. + 1999-11-19 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from diff --git a/util/subst.c b/util/subst.c index c8a2b23..94444ca 100644 --- a/util/subst.c +++ b/util/subst.c @@ -14,6 +14,9 @@ #ifdef HAVE_GETOPT_H #include +#else +extern char *optarg; +extern int optind; #endif