diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-02-09 23:40:37 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-02-09 23:40:37 +0300 |
commit | f3b39c459b21309195f8a49c85395618563b2f6b (patch) | |
tree | 4886544e03ab28a4ab907fd6356ad5905bf38ea9 /newlib/libc/include/grp.h | |
parent | 52296b850ce86ab911ec44370d721ec2d5d95254 (diff) |
* libc/include/grp.h: Include Cygwin specific header.
* libc/include/sys/stat.h: Ditto. Don't define `struct stat'
when compiling for Cygwin.
* libc/include/sys/types.h: Don't define off_t, uid_t
and gid_t when compiling for Cygwin.
Diffstat (limited to 'newlib/libc/include/grp.h')
-rw-r--r-- | newlib/libc/include/grp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/include/grp.h b/newlib/libc/include/grp.h index 2e676f366..e652b29f2 100644 --- a/newlib/libc/include/grp.h +++ b/newlib/libc/include/grp.h @@ -44,6 +44,9 @@ #define _GRP_H_ #include <sys/types.h> +#ifdef __CYGWIN__ +#include <cygwin/grp.h> +#endif #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define _PATH_GROUP "/etc/group" @@ -56,7 +59,6 @@ struct group { char **gr_mem; /* group members */ }; - #ifdef __cplusplus extern "C" { #endif |