diff options
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c index 8bed1d38a..966233691 100644 --- a/src/split.c +++ b/src/split.c @@ -38,8 +38,8 @@ #include "quote.h" #include "safe-read.h" #include "sig2str.h" +#include "xbinary-io.h" #include "xdectoint.h" -#include "xsetmode.h" #include "xstrtol.h" /* The official name of this program (e.g., no 'g' prefix). */ @@ -1553,7 +1553,7 @@ main (int argc, char **argv) quoteaf (infile)); /* Binary I/O is safer when byte counts are used. */ - xsetmode (STDIN_FILENO, O_BINARY); + xset_binary_mode (STDIN_FILENO, O_BINARY); /* Get the optimal block size of input device and make a buffer. */ |