X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsave-cwd.c;h=6fb39f0aa0c91e3864951bf7087268766bda81d8;hb=c5467a5a59852da74dc849497f47b4966fcba269;hp=068ff0ac0cd08740a499888aaf61747d3f45de43;hpb=081897eed04715cc273c607f69cc98499cba808d;p=gnulib.git diff --git a/lib/save-cwd.c b/lib/save-cwd.c index 068ff0ac0..6fb39f0aa 100644 --- a/lib/save-cwd.c +++ b/lib/save-cwd.c @@ -22,10 +22,7 @@ #endif #include - -#ifdef STDC_HEADERS -# include -#endif +#include #if HAVE_UNISTD_H # include @@ -62,7 +59,7 @@ extern int errno; support for fchdir, and getcwd is not robust or as efficient. So, we prefer to use the open/fchdir approach, but fall back on getcwd if necessary. Some systems lack fchdir altogether: OS/2, - Cygwin (as of March 2003), SCO Xenix. At least SunOS4 and Irix 5.3 + Cygwin (as of March 2003), SCO Xenix. At least SunOS 4 and Irix 5.3 provide the function, yet it doesn't work for partitions on which auditing is enabled. */