# | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
---|---|---|
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 | ||
# | Line 319 | Line 320 | open_pict( /* open picture file */ | |
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)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |