diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-05-11 16:50:18 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-05-11 16:50:18 +0400 |
commit | aee708534617ce7fe0fa1e0600e3e291c3bee0a9 (patch) | |
tree | 9a2e1c689e15e33bbe718bc8b16a5ef1afd9c0fa | |
parent | ec48a953944cc7e7f801e8908af00c7a6a6831c0 (diff) |
* include/cygwin/types.h: Add key_t typedef.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/types.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5e0ba2f75..a4fab1308 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-05-11 Corinna Vinschen <corinna@vinschen.de> + + * include/cygwin/types.h: Add key_t typedef. + 2003-05-10 Christopher Faylor <cgf@redhat.com> * dir.cc (readdir): Fill out new old_d_ino field. diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index da2fc44e2..0afa28509 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -99,6 +99,11 @@ typedef __ino32_t ino_t; #endif #endif /*__ino_t_defined*/ +#ifndef __key_t_defined +#define __key_t_defined +typedef long key_t; +#endif /* __key_t_defined */ + #ifndef __BIT_TYPES_DEFINED #define __BIT_TYPES_DEFINED__ 1 |