Fix build on BeOS host, seems it was trying to instanciate a struct stat instead...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23988 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,7 +36,7 @@ FSShell::unrestricted_stat(const char *path, struct fssh_stat *fsshStat)
|
||||
// Use the _kern_read_stat() defined in libroot on BeOS incompatible
|
||||
// systems. Required for support for opening symlinks.
|
||||
#if __BEOS__
|
||||
if (stat(path, &st) < 0)
|
||||
if (::stat(path, &st) < 0)
|
||||
return -1;
|
||||
#else
|
||||
status_t error = _kern_read_stat(-1, path, true, &st, sizeof(st));
|
||||
|
||||
Reference in New Issue
Block a user