--- ray/src/common/readoct.c 2003/08/29 16:46:51 2.22 +++ ray/src/common/readoct.c 2004/09/14 02:53:50 2.26 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readoct.c,v 2.22 2003/08/29 16:46:51 greg Exp $"; +static const char RCSid[] = "$Id: readoct.c,v 2.26 2004/09/14 02:53:50 greg Exp $"; #endif /* * readoct.c - routines to read octree information. @@ -10,12 +10,18 @@ static const char RCSid[] = "$Id: readoct.c,v 2.22 200 #include #include -#include "standard.h" #include "platform.h" +#include "rtprocess.h" +#include "standard.h" #include "octree.h" #include "object.h" #include "otypes.h" #include "resolu.h" + +#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ +#undef getc +#define getc getc_unlocked +#endif static double ogetflt(void); static long ogetint(int);