aboutsummaryrefslogtreecommitdiffstats
path: root/lib/binary-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/binary-io.h')
-rw-r--r--lib/binary-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/binary-io.h b/lib/binary-io.h
index d5c82335707..9f17c0d3987 100644
--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -60,7 +60,7 @@ set_binary_mode (int fd, int mode)
60 60
61/* SET_BINARY (fd); 61/* SET_BINARY (fd);
62 changes the file descriptor fd to perform binary I/O. */ 62 changes the file descriptor fd to perform binary I/O. */
63#ifdef __DJGPP__ 63#if defined __DJGPP__ || defined __EMX__
64# include <unistd.h> /* declares isatty() */ 64# include <unistd.h> /* declares isatty() */
65 /* Avoid putting stdin/stdout in binary mode if it is connected to 65 /* Avoid putting stdin/stdout in binary mode if it is connected to
66 the console, because that would make it impossible for the user 66 the console, because that would make it impossible for the user