From aee708534617ce7fe0fa1e0600e3e291c3bee0a9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 11 May 2003 12:50:18 +0000 Subject: [PATCH] * include/cygwin/types.h: Add key_t typedef. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/cygwin/types.h | 5 +++++ 2 files changed, 9 insertions(+) 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 + + * include/cygwin/types.h: Add key_t typedef. + 2003-05-10 Christopher Faylor * 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