Index: sfidl.cc =================================================================== RCS file: /cvs/gnome/beast/sfi/sfidl.cc,v retrieving revision 1.32 diff -u -p -r1.32 sfidl.cc --- sfidl.cc 22 Feb 2004 01:07:00 -0000 1.32 +++ sfidl.cc 19 Mar 2004 12:32:09 -0000 @@ -45,7 +45,7 @@ int main (int argc, char **argv) return 0; } - if((argc-optind) != 1) + if (argc != 2) { options.printUsage (); return 1; Index: ChangeLog =================================================================== RCS file: /cvs/gnome/beast/sfi/ChangeLog,v retrieving revision 1.206 diff -u -p -r1.206 ChangeLog --- ChangeLog 2 Mar 2004 10:10:09 -0000 1.206 +++ ChangeLog 19 Mar 2004 12:32:11 -0000 @@ -1,3 +1,10 @@ +Fri Mar 19 13:28:04 2004 Stefan Westerfeld + + * sfidl.cc: Don't use optind any longer, since we also don't use + getopt() any longer. This fixes compilation on systems where optind + is not declared in those header files sfidl.cc directly/indirectly + includes. + Tue Mar 2 11:09:48 2004 Tim Janik * sfidl-corecxx.cc: fixed choice serialization type in to_rec() impls.