Re: [PATCH, FORTRAN] Include unistd.h in environ.c

2013-05-04 Thread Tobias Burnus
David Edelsohn wrote: environ.c is referencing functions like getuid(), geteuid(), getgid() and getegid(), but it does not include the header file that declares them. I also noticed that libgfortran is not consistent about checking that unistd.h exists. You can add io/unix.c and io/open.c to t

[PATCH, FORTRAN] Include unistd.h in environ.c

2013-05-04 Thread David Edelsohn
environ.c is referencing functions like getuid(), geteuid(), getgid() and getegid(), but it does not include the header file that declares them. I also noticed that libgfortran is not consistent about checking that unistd.h exists. Bootstrapped on powerpc-ibm-aix7.1.0.0. Okay for trunk? Thanks,