diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/etc/etc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c index 50137c87b2..51668c400f 100644 --- a/ext/etc/etc.c +++ b/ext/etc/etc.c @@ -25,7 +25,9 @@ static VALUE sPasswd, sGroup; -char *getenv _((const char *)); +#ifndef _WIN32 +char *getenv(); +#endif char *getlogin(); static VALUE |