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:
authorChristopher Faylor <me@cgf.cx>2001-12-07 01:43:52 +0300
committerChristopher Faylor <me@cgf.cx>2001-12-07 01:43:52 +0300
commit251b2ad021309e6889f8e4b5667a6dc823391281 (patch)
treeb754ca4b4d0a4184852116ccba468f39f465df53
parent2bff3c8a3e2a541968d7d200f8868e66edb8c8d4 (diff)
* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn'tunlabeled-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 dbff12b69..953f603ba 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"