X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fstat.c;h=3a44dcf97da23d1704b599527db4a50edcbc04a6;hb=c514983d8d2260020543a81589a2b8c7d4bdab4e;hp=9948cc1685a45ac86a3abd30a352c0806a5295ba;hpb=b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb;p=mirror_ubuntu-zesty-kernel.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) {