diff options
author | root <root> | 2010-01-02 14:24:32 +0000 |
---|---|---|
committer | root <root> | 2010-01-02 14:24:32 +0000 |
commit | dc38ef7a470a68fb46d7e43d950e6c7cc4d55006 (patch) | |
tree | 1e88bbdac1c754ed7120c329b46e5cb4ef2aba4f | |
parent | d5dbda31aa83cf0c1a999c70c0f75a01c774cc3f (diff) |
3.4rel-3_4
-rw-r--r-- | eio.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -972,7 +972,11 @@ eio__sendfile (int ofd, int ifd, off_t offset, size_t count, etp_worker *self) if (res < 0 && (errno == ENOSYS || errno == EINVAL || errno == ENOTSOCK - || errno == ENOTSUP || errno == EOPNOTSUPP /* BSDs */ + /* BSDs */ +#ifdef ENOTSUP /* sigh, if the steenking pile called openbsd would only try to at least compile posix code... */ + || errno == ENOTSUP +#endif + || errno == EOPNOTSUPP /* BSDs */ #if __solaris || errno == EAFNOSUPPORT || errno == EPROTOTYPE #endif |