[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
From: |
David CARLIER |
Subject: |
[PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build |
Date: |
Fri, 26 Jun 2020 15:07:03 +0100 |
>From 95ef79ddff73eebd1f1bec6673c2c68209fab107 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@gmail.com>
Date: Fri, 26 Jun 2020 13:56:14 +0000
Subject: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
failure.
Signed-off-by: David Carlier <devnexen@gmail.com>
---
include/qemu/bswap.h | 2 ++
1 file changed, 2 insertions(+)
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>
--
2.26.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build,
David CARLIER <=