OSDN Git Service

ChangeLog, subst.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 3 Apr 2000 16:16:46 +0000 (16:16 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Apr 2000 16:16:46 +0000 (16:16 +0000)
  subst.c: For platforms that don't define optarg.h, manually define
   optarg and optind.

util/ChangeLog
util/subst.c

index 600cf13..891b21f 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-03  Theodore Ts'o  <tytso@valinux.com>
+
+       * subst.c: For platforms that don't define optarg.h, manually
+               define optarg and optind.
+
 1999-11-19    <tytso@valinux.com>
 
        * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
index c8a2b23..94444ca 100644 (file)
@@ -14,6 +14,9 @@
 
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern char *optarg;
+extern int optind;
 #endif