提交 f44cc485 编写于 作者: C Christoph Egger 提交者: Anthony Liguori

bswap.h: build fix

qemu build fails when CONFIG_MACHINE_BSWAP_H is defined
because float32, float64, etc. are not defined.
This makes qemu build.
Signed-off-by: NChristoph Egger <Christoph.Egger@amd.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 f81bdefb
......@@ -4,6 +4,7 @@
#include "config-host.h"
#include <inttypes.h>
#include "softfloat.h"
#ifdef CONFIG_MACHINE_BSWAP_H
#include <sys/endian.h>
......@@ -11,8 +12,6 @@
#include <machine/bswap.h>
#else
#include "softfloat.h"
#ifdef CONFIG_BYTESWAP_H
#include <byteswap.h>
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册