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:
parent
071c01b136
commit
429fb127d3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue