diff options
| author | Christoph Egger <Christoph.Egger@amd.com> | 2011-09-13 15:12:06 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-16 08:26:31 -0500 |
| commit | f44cc4852a04c0423780e115b935e201aaf3384e (patch) | |
| tree | f7e9933afec59aa141b80b6fd355b927ae54cb8d | |
| parent | f81bdefb63243e82d16ce49332f7cf74d10b8f27 (diff) | |
| download | focaccia-qemu-f44cc4852a04c0423780e115b935e201aaf3384e.tar.gz focaccia-qemu-f44cc4852a04c0423780e115b935e201aaf3384e.zip | |
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>
| -rw-r--r-- | bswap.h | 3 |
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 |