10 |
|
#include <stdlib.h> |
11 |
|
#include <string.h> |
12 |
|
|
13 |
+ |
#include "platform.h" |
14 |
|
#include "rtprocess.h" /* Windows: must come first because of conflicts */ |
15 |
|
#include "glare.h" |
16 |
|
|
145 |
|
|
146 |
|
|
147 |
|
#ifdef DEBUG |
148 |
< |
static void |
148 |
> |
void |
149 |
|
pict_stats(void) /* print out picture read statistics */ |
150 |
|
{ |
151 |
|
static long lastcall = 0L; /* ncall at last report */ |
320 |
|
fprintf(stderr, "%s: cannot open\n", fn); |
321 |
|
exit(1); |
322 |
|
} |
323 |
+ |
SET_FILE_BINARY(pictfp); |
324 |
|
exposure = 1.0; |
325 |
|
getheader(pictfp, getexpos, NULL); |
326 |
|
if (wrongformat || !fscnresolu(&pxsiz, &pysiz, pictfp)) { |