aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/window.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-12-06 22:36:08 +0000
committerChristopher Faylor <me@cgf.cx>2001-12-06 22:36:08 +0000
commita0c1938145bdd0e69bd464f32e66e56624977036 (patch)
tree5ff344dc317ff4f88a2452bf49674a68b32f546e /winsup/cygwin/window.cc
parent9acc7b9b3dfb682c3ea6ae3fae207eea5ba14931 (diff)
downloadnewlib-a0c1938145bdd0e69bd464f32e66e56624977036.zip
newlib-a0c1938145bdd0e69bd464f32e66e56624977036.tar.gz
newlib-a0c1938145bdd0e69bd464f32e66e56624977036.tar.bz2
* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't
exist. (mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found. Don't attempt to translate to a device name when devn == FH_CYGDRIVE. (cygwin_conv_to_win32_path): Set buffer to empty on error. (cygwin_conv_to_full_win32_path): Ditto. * window.cc: Include unistd.h to verify definitions.
Diffstat (limited to 'winsup/cygwin/window.cc')
-rw-r--r--winsup/cygwin/window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/window.cc b/winsup/cygwin/window.cc
index dbff12b..953f603 100644
--- a/winsup/cygwin/window.cc
+++ b/winsup/cygwin/window.cc
@@ -18,6 +18,7 @@ details. */
#include <limits.h>
#include <wingdi.h>
#include <winuser.h>
+#include <unistd.h>
#include "cygerrno.h"
#include "perprocess.h"
#include "security.h"