# | Line 8 | Line 8 | static const char RCSid[] = "$Id$"; | |
---|---|---|
8 | #include <stdio.h> | |
9 | #include <time.h> | |
10 | ||
11 | + | #include "platform.h" |
12 | #include "color.h" | |
13 | #include "rtio.h" | |
14 | #include "resolu.h" | |
# | Line 60 | Line 61 | main( | |
61 | } | |
62 | /* assign threshold color */ | |
63 | setcolr(threshclr, thresh, thresh, thresh); | |
64 | + | /* binary input */ |
65 | + | SET_FILE_BINARY(stdin); |
66 | /* get our header */ | |
67 | if (checkheader(stdin, COLRFMT, NULL) < 0 || | |
68 | fgetresolu(&xmax, &ymax, stdin) < 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |