X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fstat.c;h=3a44dcf97da23d1704b599527db4a50edcbc04a6;hb=c7fa9963ee6317b54e85b260791d603ea2feb8e3;hp=9948cc1685a45ac86a3abd30a352c0806a5295ba;hpb=a00428f5b149e36b8225b2a0812742a6dfb07b8c;p=deliverable%2Flinux.git diff --git a/fs/stat.c b/fs/stat.c index 9948cc1685a4..3a44dcf97da2 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -4,7 +4,6 @@ * Copyright (C) 1991, 1992 Linus Torvalds */ -#include #include #include #include @@ -261,7 +260,7 @@ asmlinkage long sys_newlstat(char __user *filename, struct stat __user *statbuf) return error; } -#ifndef __ARCH_WANT_STAT64 +#if !defined(__ARCH_WANT_STAT64) || defined(__ARCH_WANT_SYS_NEWFSTATAT) asmlinkage long sys_newfstatat(int dfd, char __user *filename, struct stat __user *statbuf, int flag) {