diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-14 02:25:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-14 02:25:02 +0000 |
commit | d1fb37bca8ee20fe3005df7b11a97b9710c76e84 (patch) | |
tree | 3a2fa6b24d12aa2148604a05f2b20346bf118dd6 /process.c | |
parent | 9075d3ef51c0e1240cd2c97c3602146d86eb9901 (diff) | |
download | ruby-d1fb37bca8ee20fe3005df7b11a97b9710c76e84.tar.gz |
process.c: initgroups on cygwin
* process.c (initgroups): not declared on cygwin if _POSIX_SOURCE
or _XOPEN_SOURCE are defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,9 @@ #endif #ifdef HAVE_GRP_H #include <grp.h> +# ifdef __CYGWIN__ +int initgroups(const char *, rb_gid_t); +# endif #endif #ifdef HAVE_SYS_ID_H #include <sys/id.h> |