summaryrefslogtreecommitdiffstats
path: root/tests/fp
diff options
context:
space:
mode:
authorEmilio G. Cota2019-01-22 21:10:42 +0100
committerAlex Bennée2019-01-22 21:48:15 +0100
commitb343eb462bcf825d60a29269054d54aff95b1722 (patch)
tree5e1d112b5cbf1b50864856bee5a63aca85574238 /tests/fp
parentfp-test: fix signature of slow_clear_flags and qemu_clear_flags (diff)
downloadqemu-b343eb462bcf825d60a29269054d54aff95b1722.tar.gz
qemu-b343eb462bcf825d60a29269054d54aff95b1722.tar.xz
qemu-b343eb462bcf825d60a29269054d54aff95b1722.zip
tests/fp/platform.h: include config-host.h
We get HOST_WORDS_BIGENDIAN from config-host.h, but the include is missing. Fix it. This fixes `make check-softfloat' on big endian hosts. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/fp')
-rw-r--r--tests/fp/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fp/platform.h b/tests/fp/platform.h
index f8c423dde3..c20ba70baa 100644
--- a/tests/fp/platform.h
+++ b/tests/fp/platform.h
@@ -29,6 +29,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "config-host.h"
#ifndef HOST_WORDS_BIGENDIAN
#define LITTLEENDIAN 1