Message ID | CA+XhMqy6B_mtdwCYDAw0ZRAsmKROMw4hbw8pRznj9yPH2TwtPA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | None | expand |
On Tue, 30 Jun 2020 at 01:46, David CARLIER <devnexen@gmail.com> wrote: > > From 2f65cab41a8f4508532b3893815f222bf2293463 Mon Sep 17 00:00:00 2001 > From: David Carlier <devnexen@gmail.com> > Date: Mon, 29 Jun 2020 22:19:34 +0000 > Subject: [PATCH 6/9] Including endian.h for bswap operations. > > Signed-off-by: David Carlier <devnexen@gmail.com> > --- > include/qemu/bswap.h | 2 ++ > 1 file changed, 2 insertions(+)8 Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index 2a9f3fe783..1d3e4c24e4 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -8,6 +8,8 @@ # include <machine/bswap.h> #elif defined(__FreeBSD__) # include <sys/endian.h> +#elif defined(__HAIKU__) +# include <endian.h> #elif defined(CONFIG_BYTESWAP_H) # include <byteswap.h>