build: follow-up for hrev54993
should help with bug #16929, untested Change-Id: Ia7b9b6cc8e84e2377d79c0edd1c278cdf74d869b Reviewed-on: https://review.haiku-os.org/c/haiku/+/3891 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -49,12 +49,14 @@ extern size_t strnlen(const char* string, size_t length);
|
||||
#endif
|
||||
|
||||
// BeOS only
|
||||
#if !defined(HAIKU_HOST_PLATFORM_HAIKU)
|
||||
extern ssize_t read_pos(int fd, off_t pos, void* buffer, size_t count);
|
||||
extern ssize_t write_pos(int fd, off_t pos, const void* buffer, size_t count);
|
||||
extern ssize_t readv_pos(int fd, off_t pos, const struct iovec* vec,
|
||||
int count);
|
||||
extern ssize_t writev_pos(int fd, off_t pos, const struct iovec* vec,
|
||||
int count);
|
||||
#endif
|
||||
|
||||
|
||||
// There's no O_NOTRAVERSE under Linux and FreeBSD -- we replace it with a flag
|
||||
|
||||
Reference in New Issue
Block a user