From: David CARLIER Date: Mon, 13 Jul 2020 13:36:09 +0000 (+0100) Subject: osdep.h: For Haiku, define SIGIO as equivalent to SIGPOLL X-Git-Tag: v5.1.0-rc0~12^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bf0f1754a8321568d536c2f33b013279fc4aaaa;p=thirdparty%2Fqemu.git 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 Reviewed-by: Peter Maydell Reviewed-by: Thomas Huth Signed-off-by: Peter Maydell Message-id: 20200703145614.16684-6-peter.maydell@linaro.org [PMM: Expanded commit message] Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 14059bce5a7..979a4039841 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