Bruno Haible <[EMAIL PROTECTED]> wrote:
...
> In file included from lchown.c:26:
> stat-macros.h:26:4: #error "you must include <sys/stat.h> before including 
> this file"
> lchown.c: In function `lchown':
> lchown.c:37: error: storage size of `stats' isn't known
> lchown.c:39: warning: implicit declaration of function `lstat'
> lchown.c:37: warning: unused variable `stats'
> make[2]: *** [lchown.o] Error 1
>
> This fixes it:
>
> diff -r -c3 coreutils-6.3a/lib/lchown.c 
> /gfs/ibook/Volumes/UserData/work/coreutils-6.3a/lib/lchown.c
...
> + #include <sys/stat.h>
>   #include "stat-macros.h"

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.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to