--- ray/src/rt/rpict.c 2003/10/20 16:01:55 2.64 +++ ray/src/rt/rpict.c 2003/11/26 19:16:24 2.66 @@ -28,6 +28,7 @@ static const char RCSid[] = "$Id"; #include "view.h" #include "random.h" #include "paths.h" +#include "rtmisc.h" /* myhostname() */ #define RFTEMPLATE "rfXXXXXX" @@ -149,7 +150,6 @@ int code; void report() /* report progress */ { - extern char *myhostname(); double u, s; #ifdef BSD struct rusage rubuf; @@ -296,8 +296,7 @@ char *pout, *zout, *prvr; } hres = hresolu; vres = vresolu; pa = pixaspect; if (prvr != NULL) { - if (viewfile(prvr, &ourview, &rs) <= 0 - || rs.rt != PIXSTANDARD) { + if (viewfile(prvr, &ourview, &rs) <= 0) { sprintf(errmsg, "cannot recover view parameters from \"%s\"", prvr); error(WARNING, errmsg);