*** ./main.c.ORIG Tue Dec 1 13:06:23 2009 --- ./main.c Tue Dec 1 13:19:44 2009 *************** *** 321,326 **** --- 321,327 ---- /*option_index = 0;*/ optind = 1; encoding = NULL; + #ifndef _AIX #ifdef HAVE_GETOPT_LONG for(;;) { static const struct option long_options[] = { *************** *** 357,362 **** --- 358,364 ---- } } #endif /* HAVE_GETOPT_LONG */ + #endif /* !_AIX */ if(argc - optind > 1) { usage_msg();