summaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp/files.c')
-rw-r--r--libcpp/files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/files.c b/libcpp/files.c
index 593e5ebf0c8..c0ce6d45227 100644
--- a/libcpp/files.c
+++ b/libcpp/files.c
@@ -40,6 +40,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#endif
#ifdef __DJGPP__
+#include <io.h>
/* For DJGPP redirected input is opened in text mode. */
# define set_stdin_to_binary_mode() \
if (! isatty (0)) setmode (0, O_BINARY)