summaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_dsp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index daa9a629807..8668e1a5813 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -18,6 +18,7 @@ details. */
#include <mmsystem.h>
#include "cygerrno.h"
#include "security.h"
+#include "path.h"
#include "fhandler.h"
//------------------------------------------------------------------------
@@ -429,7 +430,7 @@ fhandler_dev_dsp::~fhandler_dev_dsp ()
}
int
-fhandler_dev_dsp::open (path_conv *, int flags, mode_t mode)
+fhandler_dev_dsp::open (int flags, mode_t mode)
{
// currently we only support writing
if ((flags & (O_WRONLY | O_RDONLY | O_RDWR)) != O_WRONLY)