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: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f81bdefb63
commit
f44cc4852a
3
bswap.h
3
bswap.h
@ -4,6 +4,7 @@
|
|||||||
#include "config-host.h"
|
#include "config-host.h"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
#include "softfloat.h"
|
||||||
|
|
||||||
#ifdef CONFIG_MACHINE_BSWAP_H
|
#ifdef CONFIG_MACHINE_BSWAP_H
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
@ -11,8 +12,6 @@
|
|||||||
#include <machine/bswap.h>
|
#include <machine/bswap.h>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include "softfloat.h"
|
|
||||||
|
|
||||||
#ifdef CONFIG_BYTESWAP_H
|
#ifdef CONFIG_BYTESWAP_H
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user