aboutsummaryrefslogtreecommitdiff
path: root/tests/fp
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2019-01-22 15:10:42 -0500
committerAlex Bennée <alex.bennee@linaro.org>2019-01-22 20:48:15 +0000
commitb343eb462bcf825d60a29269054d54aff95b1722 (patch)
tree5e1d112b5cbf1b50864856bee5a63aca85574238 /tests/fp
parent710fbcd2b2b11ae1f8f82ae48cadcaefd4cf48b2 (diff)
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