Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_windows.cc')
-rw-r--r--winsup/cygwin/fhandler_windows.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_windows.cc b/winsup/cygwin/fhandler_windows.cc
index 8b02e3fc6..5964052fa 100644
--- a/winsup/cygwin/fhandler_windows.cc
+++ b/winsup/cygwin/fhandler_windows.cc
@@ -16,6 +16,7 @@ details. */
#include <winuser.h>
#include "cygerrno.h"
#include "security.h"
+#include "path.h"
#include "fhandler.h"
/*
@@ -46,12 +47,12 @@ The following unix-style calls are supported:
*/
fhandler_windows::fhandler_windows ()
- : fhandler_base (FH_WINDOWS), hWnd_ (NULL), method_ (WINDOWS_POST)
+ : fhandler_base (), hWnd_ (NULL), method_ (WINDOWS_POST)
{
}
int
-fhandler_windows::open (path_conv *, int flags, mode_t)
+fhandler_windows::open (int flags, mode_t)
{
set_flags ((flags & ~O_TEXT) | O_BINARY);
set_close_on_exec_flag (1);