diff options
author | David CARLIER | 2020-07-13 15:36:09 +0200 |
---|---|---|
committer | Peter Maydell | 2020-07-13 15:36:09 +0200 |
commit | 8bf0f1754a8321568d536c2f33b013279fc4aaaa (patch) | |
tree | 44e6cde8f1f8b59cab34e1b2bc74d4eedf2fd5b1 | |
parent | osdep.h: Always include <sys/signal.h> if it exists (diff) | |
download | qemu-8bf0f1754a8321568d536c2f33b013279fc4aaaa.tar.gz qemu-8bf0f1754a8321568d536c2f33b013279fc4aaaa.tar.xz qemu-8bf0f1754a8321568d536c2f33b013279fc4aaaa.zip |
osdep.h: For Haiku, define SIGIO as equivalent to SIGPOLL
Haiku doesn't provide SIGIO; fix this up in osdep.h by defining it as
equal to SIGPOLL.
Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-6-peter.maydell@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | include/qemu/osdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 14059bce5a..979a403984 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -432,6 +432,10 @@ void qemu_anon_ram_free(void *ptr, size_t size); #define HAVE_CHARDEV_PARPORT 1 #endif +#if defined(__HAIKU__) +#define SIGIO SIGPOLL +#endif + #if defined(CONFIG_LINUX) #ifndef BUS_MCEERR_AR #define BUS_MCEERR_AR 4 |