--- ray/src/common/fropen.c 2003/05/13 17:58:32 2.10 +++ ray/src/common/fropen.c 2003/08/26 04:24:26 2.14 @@ -1,16 +1,17 @@ #ifndef lint -static const char RCSid[] = "$Id: fropen.c,v 2.10 2003/05/13 17:58:32 greg Exp $"; +static const char RCSid[] = "$Id: fropen.c,v 2.14 2003/08/26 04:24:26 greg Exp $"; #endif /* * Find and open a Radiance library file. * - * External symbols declared in standard.h + * External symbols declared in rtio.h */ #include "copyright.h" #include +#include "rtio.h" #include "paths.h" @@ -18,9 +19,8 @@ FILE * frlibopen(fname) /* find file and open for reading */ register char *fname; { - extern char *strcpy(), *getrlibpath(); FILE *fp; - char pname[MAXPATH]; + char pname[PATH_MAX]; register char *sp, *cp; if (fname == NULL)