--- /u/martinea/amcore/amanda-2.4.3/tape-src/ammt.c 2002-12-01 20:23:51.000000000 -0500 +++ tape-src/ammt.c 2002-12-01 20:22:32.000000000 -0500 @@ -27,6 +27,8 @@ #include "tapeio.h" #endif +extern int optind; + static int do_asf(); static int do_bsf(); static int do_status(); --- /u/martinea/amcore/amanda-2.4.3/tape-src/amdd.c 2002-12-01 20:23:51.000000000 -0500 +++ tape-src/amdd.c 2002-12-01 20:22:43.000000000 -0500 @@ -20,6 +20,8 @@ #include "tapeio.h" #endif +extern int optind; + static int debug_amdd = 0; static char *pgm = NULL;