diff options
Diffstat (limited to 'winsup/cygwin/textmode.c')
-rw-r--r-- | winsup/cygwin/textmode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/textmode.c b/winsup/cygwin/textmode.c index 92648ca04..6d52d50f8 100644 --- a/winsup/cygwin/textmode.c +++ b/winsup/cygwin/textmode.c @@ -8,11 +8,13 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ +#include <windows.h> #include <sys/fcntl.h> +#include <sys/cygwin.h> extern int _fmode; void -cygwin_premain0 (int argc, char **argv) +cygwin_premain0 (int argc, char **argv, struct per_process *myself) { _fmode &= ~_O_BINARY; _fmode |= _O_TEXT; |