Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 10/9/2006 5:50 AM: >> Thanks. >> I've checked in that change: >> >> 2006-10-09 Jim Meyering <[EMAIL PROTECTED]> >> >> * lchown.c: Include <sys/stat.h> before "stat-macros.h". >> Patch from Bruno Haible. > > Why not instead fix stat-macros.h to include <sys/stat.h>? Then future > users of "stat-macros.h" don't have to worry about this portability trap.
Because there have been problems with systems for which <sys/stat.h> cannot be included more than once. Maybe it's time to reexamine that restriction, but I'm in no hurry. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils