aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-12-06 22:43:52 +0000
committerChristopher Faylor <me@cgf.cx>2001-12-06 22:43:52 +0000
commit251b2ad021309e6889f8e4b5667a6dc823391281 (patch)
treeb754ca4b4d0a4184852116ccba468f39f465df53
parent2bff3c8a3e2a541968d7d200f8868e66edb8c8d4 (diff)
downloadnewlib-unlabeled-1.15.10.zip
newlib-unlabeled-1.15.10.tar.gz
newlib-unlabeled-1.15.10.tar.bz2
* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn'tgithub/unlabeled-1.15.10unlabeled-1.15.10
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.
-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"