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:
Jérôme Duval
2021-04-30 10:42:21 +00:00
parent 13e1bb0e0d
commit 20308ad6a7
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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