Adapted the fstat/_fstat work-around to like the user boot loader build as well.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-11 01:07:54 +00:00
parent 259fd3cdfb
commit 73b10c8f1e

View File

@ -651,7 +651,7 @@ close(int fd)
// ToDo: remove this kludge when possible
int
#ifdef fstat
#if defined(fstat) && !defined(main)
_fstat(int fd, struct stat *stat, size_t /*statSize*/)
#else
fstat(int fd, struct stat *stat)