--- ray/src/common/readoct.c 2003/10/27 10:19:31 2.24 +++ ray/src/common/readoct.c 2004/04/29 14:36:49 2.25 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readoct.c,v 2.24 2003/10/27 10:19:31 schorsch Exp $"; +static const char RCSid[] = "$Id: readoct.c,v 2.25 2004/04/29 14:36:49 greg Exp $"; #endif /* * readoct.c - routines to read octree information. @@ -17,6 +17,10 @@ static const char RCSid[] = "$Id: readoct.c,v 2.24 200 #include "object.h" #include "otypes.h" #include "resolu.h" + +#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ +#define getc getc_unlocked +#endif static double ogetflt(void); static long ogetint(int);