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:
François Revol
2008-02-17 17:53:54 +00:00
parent 5e42a6bdd7
commit 32d33c44e5
+1 -1
View File
@@ -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));