# | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
---|---|---|
10 | #include <time.h> | |
11 | #include <string.h> | |
12 | ||
13 | + | #include "platform.h" |
14 | #include "tiffio.h" | |
15 | #include "color.h" | |
16 | #include "tonemap.h" | |
# | Line 184 | Line 185 | openpicture( /* open/check Radiance picture file */ | |
185 | /* else try opening it */ | |
186 | if ((fp = fopen(fname, "r")) == NULL) | |
187 | return(NULL); | |
188 | + | SET_FILE_BINARY(fp); |
189 | /* allocate struct */ | |
190 | if ((pp = (PICTURE *)malloc(sizeof(PICTURE))) == NULL) | |
191 | return(NULL); /* serious error -- should exit? */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |