diff options
Diffstat (limited to 'winsup/cygwin/ipc.cc')
-rw-r--r-- | winsup/cygwin/ipc.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/ipc.cc b/winsup/cygwin/ipc.cc index 192a124d5..4665fd84a 100644 --- a/winsup/cygwin/ipc.cc +++ b/winsup/cygwin/ipc.cc @@ -1,6 +1,6 @@ /* ipc.cc: Single unix specification IPC interface for Cygwin - Copyright 2001 Red Hat, Inc. + Copyright 2001, 2002 Red Hat, Inc. Originally written by Robert Collins <robert.collins@hotmail.com> @@ -11,7 +11,7 @@ details. */ #include "winsup.h" -#include <sys/ipc.h> +#include <cygwin/ipc.h> #include <sys/stat.h> extern "C" @@ -27,11 +27,11 @@ ftok(const char *path, int id) /* stat set the appropriate errno for us */ return (key_t) -1; } - - /* dev_t is short for cygwin + + /* dev_t is short for cygwin * ino_t is long for cygwin * and we need 8 bits for the id. - * thus key_t is long long. + * thus key_t is long long. */ return ((long long) statbuf.st_dev << (5*8)) | (statbuf.st_ino << (8) ) | (id & 0x00ff); } |