--- hexcurse-1.55/src/getopt.c.bak 2005-04-03 14:08:37.000000000 -0700 +++ hexcurse-1.55/src/getopt.c 2005-04-03 14:10:42.000000000 -0700 @@ -30,16 +30,14 @@ #undef opterr #undef optopt #undef optind -#undef alloca /* The following modification was submited by Claudio Fanin. This change * * enables hexcurse to be compiled with SGI's proprietary compiler */ #ifdef _SGIAPI +#undef alloca #include -#else -char *alloca (); #endif -#define __alloca alloca +#define __hexcurse_alloca alloca /* end of modification */ #ifdef HAVE_OPTIND @@ -85,7 +83,7 @@ char **argv; { int nonopts_size = (last_nonopt - first_nonopt) * sizeof (char *); - char **temp = (char **) __alloca (nonopts_size); + char **temp = (char **) __hexcurse_alloca (nonopts_size); /* Interchange the two blocks of data in ARGV. */