diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-10 14:50:34 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-10 14:50:34 +0000 |
commit | c353e13397245a2ace91c7d3ce5eed2e590447d0 (patch) | |
tree | d5f28e0b8e16720252e31b3b4365d7490cfe3889 | |
parent | 0b3bba83b27e7696478906c36aca1b7db1426ab8 (diff) |
ps2pkm: Use binary mode for output files (from W32TeX) -- bug fix
git-svn-id: svn://tug.org/texlive/trunk@26991 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/ps2pkm/pk2bm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/ps2pkm/pk2bm.c b/Build/source/texk/ps2pkm/pk2bm.c index 918e872b93b..efc334616e1 100644 --- a/Build/source/texk/ps2pkm/pk2bm.c +++ b/Build/source/texk/ps2pkm/pk2bm.c @@ -33,6 +33,10 @@ #include <stdio.h> #include "pkin.h" +#ifdef WIN32 +#include <fcntl.h> +#endif + int main(int argc, char *argv[]) { int done, C = 0, c, h = 0, w = 0, row, col; |