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:
Diffstat (limited to 'newlib/libc/include/grp.h')
-rw-r--r--newlib/libc/include/grp.h4
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