summaryrefslogtreecommitdiffstats
path: root/contrib/qemu/include/qemu/bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/qemu/include/qemu/bswap.h')
-rw-r--r--contrib/qemu/include/qemu/bswap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/qemu/include/qemu/bswap.h b/contrib/qemu/include/qemu/bswap.h
index 1ea5b101e89..bf6457b8c46 100644
--- a/contrib/qemu/include/qemu/bswap.h
+++ b/contrib/qemu/include/qemu/bswap.h
@@ -11,6 +11,8 @@
# include <sys/endian.h>
# include <sys/types.h>
# include <machine/bswap.h>
+#elif defined(__FreeBSD__)
+# include <sys/endian.h>
#elif defined(CONFIG_BYTESWAP_H)
#ifdef GF_DARWIN_HOST_OS
# include <libkern/OSByteOrder.h>