On Monday 26 November 2012 07:54 PM, Markos Chandras wrote:
> From: Markos Chandras <[email protected]>
> 
> Signed-off-by: Markos Chandras <[email protected]>
> ---
>  libc/sysdeps/linux/common/stat.c | 17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
> 
> diff --git a/libc/sysdeps/linux/common/stat.c 
> b/libc/sysdeps/linux/common/stat.c
> index 829f35a..038e0c0 100644
> --- a/libc/sysdeps/linux/common/stat.c
> +++ b/libc/sysdeps/linux/common/stat.c
> @@ -8,12 +8,21 @@
>   */
>  
>  #include <sys/syscall.h>
> +#include <fcntl.h>
>  #include <unistd.h>
>  #include <sys/stat.h>
>  #include "xstatconv.h"
>  
>  #undef stat
>  
> +#if defined(__NR_fstat64) && !defined(__NR_stat)

Nit - to be consistent with other changes this needs to be __NR_fstatat64.


_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to