diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-17 16:24:12 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-17 18:27:14 +0000 |
commit | eb048026aa818f4e4121829b7b413580d830e738 (patch) | |
tree | 931c5175e8e6eb425f0d52c482202efa9570a34f /util/oslib-posix.c | |
parent | 31d89228366ce79064ac4fdef98ac85b39bf53ba (diff) | |
download | qemu-eb048026aa818f4e4121829b7b413580d830e738.zip qemu-eb048026aa818f4e4121829b7b413580d830e738.tar.gz qemu-eb048026aa818f4e4121829b7b413580d830e738.tar.bz2 |
curl: fix compilation on OpenBSD
EPROTO is not found in OpenBSD. We usually use EIO when no better
errno is available, do that here too.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20170317152412.8472-1-pbonzini@redhat.com
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions