OSDN Git Service

* autoload.c (cygwin_premain0): Add missing parameter.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygwin / textmode.c
index 92648ca..6d52d50 100644 (file)
@@ -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;