diff options
| -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 | 
