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 d0834b34d5.
This commit is contained in:
Niels Sascha Reedijk 2021-03-22 22:52:50 +00:00
parent d0834b34d5
commit 9335a062be
1 changed files with 2 additions and 2 deletions

View File

@ -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