From 691d3353c21a9c8c38d57440808ad7a53827b7dc Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 3 Apr 2000 16:16:46 +0000 Subject: [PATCH] ChangeLog, subst.c: subst.c: For platforms that don't define optarg.h, manually define optarg and optind. --- util/ChangeLog | 5 +++++ util/subst.c | 3 +++ 2 files changed, 8 insertions(+) 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 -- 1.8.3.1