Fixes the build until we have this _fstat()/fstat() thing worked out.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-10 23:04:52 +00:00
parent 071c01b136
commit 429fb127d3
1 changed files with 6 additions and 1 deletions

View File

@ -646,8 +646,13 @@ close(int fd)
}
// ToDo: remove this kludge when possible
int
_fstat(int fd, struct stat *stat, size_t statSize)
#ifdef fstat
_fstat(int fd, struct stat *stat, size_t /*statSize*/)
#else
fstat(int fd, struct stat *stat)
#endif
{
if (stat == NULL)
return B_BAD_VALUE;