From d0834b34d523dff018ef0551e195fd9109daa93f Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Mon, 22 Mar 2021 21:10:09 +0000 Subject: [PATCH] Fix building on Haiku after hrev54993 Change-Id: I052aad6374ae7ab7b4bcbf47bd88cd84193a9879 --- headers/build/BeOSBuildCompatibility.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/build/BeOSBuildCompatibility.h b/headers/build/BeOSBuildCompatibility.h index 8a6b8ff571..5eff06a5c8 100644 --- a/headers/build/BeOSBuildCompatibility.h +++ b/headers/build/BeOSBuildCompatibility.h @@ -52,9 +52,9 @@ extern size_t strnlen(const char* string, size_t length); 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, - size_t count); + int count); extern ssize_t writev_pos(int fd, off_t pos, const struct iovec* vec, - size_t count); + int count); // There's no O_NOTRAVERSE under Linux and FreeBSD -- we replace it with a flag