bswap.h: build fix
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 13 Sep 2011 13:12:06 +0000 (15:12 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 16 Sep 2011 13:26:31 +0000 (08:26 -0500)
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>
bswap.h

diff --git a/bswap.h b/bswap.h
index f41bebe..cc7f84d 100644 (file)
--- 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