| 7 |  |  | 
| 8 |  | #include  <time.h> | 
| 9 |  |  | 
| 10 | – | #include  "standard.h" | 
| 10 |  | #include  "platform.h" | 
| 11 | + | #include  "standard.h" | 
| 12 |  | #include  "octree.h" | 
| 13 |  | #include  "object.h" | 
| 14 |  | #include  "mesh.h" | 
| 15 |  | #include  "resolu.h" | 
| 16 |  |  | 
| 17 | + | #ifdef getc_unlocked            /* avoid horrendous overhead of flockfile */ | 
| 18 | + | #undef getc | 
| 19 | + | #define getc    getc_unlocked | 
| 20 | + | #endif | 
| 21 | + |  | 
| 22 |  | static char     *meshfn;        /* input file name */ | 
| 23 |  | static FILE     *meshfp;        /* mesh file pointer */ | 
| 24 |  | static int      objsize;        /* sizeof(OBJECT) from writer */ | 
| 97 |  | default: | 
| 98 |  | mesherror(USER, "damaged mesh octree"); | 
| 99 |  | } | 
| 100 | < | return NULL; /* pro forma return */ | 
| 100 | > | return (OCTREE)0;       /* pro forma return */ | 
| 101 |  | } | 
| 102 |  |  | 
| 103 |  |  |