bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-6.3 on MacOS X


From: Jim Meyering
Subject: Re: coreutils-6.3 on MacOS X
Date: Mon, 09 Oct 2006 13:50:56 +0200

Bruno Haible <address@hidden> 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  <address@hidden>

        * lchown.c: Include <sys/stat.h> before "stat-macros.h".
        Patch from Bruno Haible.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]