aboutsummaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2011-09-13 15:12:06 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-16 08:26:31 -0500
commitf44cc4852a04c0423780e115b935e201aaf3384e (patch)
treef7e9933afec59aa141b80b6fd355b927ae54cb8d /bswap.h
parentf81bdefb63243e82d16ce49332f7cf74d10b8f27 (diff)
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>
Diffstat (limited to 'bswap.h')
-rw-r--r--bswap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bswap.h b/bswap.h
index f41bebed83..cc7f84d30f 100644
--- a/bswap.h
+++ b/bswap.h
@@ -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