On 03/07/2020 16.56, Peter Maydell wrote: > From: David CARLIER <devne...@gmail.com> > > Haiku doesn't provide SIGIO; fix this up in osdep.h by defining it as > equal to SIGPOLL. > > Signed-off-by: David Carlier <devne...@gmail.com> > [PMM: Expanded commit message] > Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > include/qemu/osdep.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h > index 6e0cf9132d9..e090ead8262 100644 > --- a/include/qemu/osdep.h > +++ b/include/qemu/osdep.h > @@ -425,6 +425,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
Sounds reasonable. Reviewed-by: Thomas Huth <th...@redhat.com>