--- ray/src/gen/xform.c 2003/03/11 19:29:05 2.24 +++ ray/src/gen/xform.c 2003/06/27 22:27:45 2.27 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: xform.c,v 2.24 2003/03/11 19:29:05 greg Exp $"; +static const char RCSid[] = "$Id: xform.c,v 2.27 2003/06/27 22:27:45 greg Exp $"; #endif /* * xform.c - program to transform object files. @@ -9,14 +9,12 @@ static const char RCSid[] = "$Id: xform.c,v 2.24 2003/ * 11/6/86 Finally added error checking! */ -#include "standard.h" - -#include "paths.h" - #include +#include "standard.h" +#include "platform.h" +#include "paths.h" #include "object.h" - #include "otypes.h" int xac; /* global xform argument count */ @@ -930,7 +928,7 @@ char *iname; } strcpy(curfn, iname); /* remember input name */ /* get full path for file */ - if ((fpath = getpath(iname, getlibpath(), R_OK)) == NULL) { + if ((fpath = getpath(iname, getrlibpath(), R_OK)) == NULL) { fprintf(stderr, "%s: cannot find file \"%s\"\n", progname, iname); exit(1);