From 9335a062bec7206e0173e299af523e678f442103 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Mon, 22 Mar 2021 22:52:50 +0000 Subject: [PATCH] Revert "Fix building on Haiku after hrev54993" This breaks the build on other platforms, so it needs a bit more thought and testing. This reverts commit d0834b34d523dff018ef0551e195fd9109daa93f. --- 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 5eff06a5c8..8a6b8ff571 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, - int count); + size_t count); extern ssize_t writev_pos(int fd, off_t pos, const struct iovec* vec, - int count); + size_t count); // There's no O_NOTRAVERSE under Linux and FreeBSD -- we replace it with a flag