[Top][All Lists]
[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.
- coreutils-6.3 on MacOS X, Bruno Haible, 2006/10/04
- Re: coreutils-6.3 on MacOS X, Jim Meyering, 2006/10/09
- Re: coreutils-6.3 on MacOS X, Paul Eggert, 2006/10/09
- Re: coreutils-6.3 on MacOS X, Jim Meyering, 2006/10/09
- Re: coreutils-6.3 on MacOS X, Bruno Haible, 2006/10/09
- Re: coreutils-6.3 on MacOS X, Paul Eggert, 2006/10/10
- Re: coreutils-6.3 on MacOS X, Jim Meyering, 2006/10/11