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